From 8c3e2028e8c6aae42b922ee3384b65226e9448b2 Mon Sep 17 00:00:00 2001 From: LaurenD Date: Sun, 17 Nov 2024 16:19:48 -0500 Subject: [PATCH] prettier --- regression/regression.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/regression/regression.ts b/regression/regression.ts index 3a7edfeb..d9af2b62 100644 --- a/regression/regression.ts +++ b/regression/regression.ts @@ -8,7 +8,10 @@ const verbose = process.argv[3] === 'true'; const REGRESSION_OUTPUT_DIR = path.join(__dirname, `./output/${regressionBaseName}`); const CTHON_BASE_PATH = path.join(__dirname, './default-bundles/connectathon/fhir401/bundles/measure'); const ECQM_CONTENT_BASE_PATH = path.join(__dirname, './default-bundles/ecqm-content-r4-2021/bundles/measure'); -const ECQM_CONTENT_QICORE_BASE_PATH = path.join(__dirname, './default-bundles/ecqm-content-qicore-2022/bundles/measure'); +const ECQM_CONTENT_QICORE_BASE_PATH = path.join( + __dirname, + './default-bundles/ecqm-content-qicore-2022/bundles/measure' +); const BUNDLES_BASE_PATH = path.join(__dirname, './bundles'); // folders in this directory are assumed to have a coverage script bundles format const RESET = '\x1b[0m'; @@ -119,10 +122,13 @@ async function main() { await calculateRegression(filesPath, testFilePaths, measureBundle, dir.shortName); } - // Everything in the BUNDLES_BASE_PATH directory is expected in $set_name/measure/$measure_name structure with + // Everything in the BUNDLES_BASE_PATH directory is expected in $set_name/measure/$measure_name structure with // $measure_name-v332.json, $measure_name-v314.json, and $measure_name-TestCases folder within - const baseBundlePaths = fs.readdirSync(BUNDLES_BASE_PATH).filter(f => !f.startsWith('.')).map(f => (path.join(BUNDLES_BASE_PATH, f, 'measure'))); - await baseBundlePaths.forEach( async dirPath => { + const baseBundlePaths = fs + .readdirSync(BUNDLES_BASE_PATH) + .filter(f => !f.startsWith('.')) + .map(f => path.join(BUNDLES_BASE_PATH, f, 'measure')); + await baseBundlePaths.forEach(async dirPath => { // coverage directory organized with multiple measures for each set of test files const covDirs = fs.readdirSync(dirPath).map(f => ({ shortName: f,