From 8b1e9ddf260c2ac1d765fb2c9edf3595cad89d41 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Mon, 12 Aug 2019 12:17:46 -0400 Subject: [PATCH] Lint --- __tests__/installer.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 855ef5d..5177478 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -45,8 +45,8 @@ describe('installer tests', () => { const dotnetDir = path.join(toolDir, 'dncs', '2.2.105', os.arch()); const globalJsonPath = path.join(process.cwd(), 'global.json'); - const jsonContents = `{${os.EOL}"sdk": {${os.EOL}"version": "2.2.105"${os.EOL}}${os.EOL}}` - if(!fs.existsSync(globalJsonPath)) { + const jsonContents = `{${os.EOL}"sdk": {${os.EOL}"version": "2.2.105"${os.EOL}}${os.EOL}}`; + if (!fs.existsSync(globalJsonPath)) { fs.writeFileSync(globalJsonPath, jsonContents); } await setup.run();