From b61b3e11152503cac33554dcfec392a68c558304 Mon Sep 17 00:00:00 2001 From: McMenemy <josh.mcmenemy@gmail.com> Date: Tue, 29 Sep 2020 08:53:26 -0700 Subject: [PATCH] fix linter error --- src/cli/chem-comp-dict/create-ions.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cli/chem-comp-dict/create-ions.ts b/src/cli/chem-comp-dict/create-ions.ts index 6e0c12ddd..7551cc9ff 100644 --- a/src/cli/chem-comp-dict/create-ions.ts +++ b/src/cli/chem-comp-dict/create-ions.ts @@ -21,8 +21,10 @@ function extractIonNames(ccd: DatabaseCollection<CCD_Schema>) { const ionNames: string[] = []; for (const k in ccd) { const {chem_comp} = ccd[k]; - if ((chem_comp.name.value(0).toUpperCase().includes(' ION')) && - (chem_comp.pdbx_release_status.value(0) === 'REL')) { + if ( + chem_comp.name.value(0).toUpperCase().includes(' ION') + && chem_comp.pdbx_release_status.value(0) === 'REL' + ) { ionNames.push(chem_comp.id.value(0)); } } -- GitLab