This commit is contained in:
Danny McCormick 2019-08-12 12:17:46 -04:00
parent db362d751e
commit 8b1e9ddf26
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ describe('installer tests', () => {
const dotnetDir = path.join(toolDir, 'dncs', '2.2.105', os.arch()); const dotnetDir = path.join(toolDir, 'dncs', '2.2.105', os.arch());
const globalJsonPath = path.join(process.cwd(), 'global.json'); const globalJsonPath = path.join(process.cwd(), 'global.json');
const jsonContents = `{${os.EOL}"sdk": {${os.EOL}"version": "2.2.105"${os.EOL}}${os.EOL}}` const jsonContents = `{${os.EOL}"sdk": {${os.EOL}"version": "2.2.105"${os.EOL}}${os.EOL}}`;
if (!fs.existsSync(globalJsonPath)) { if (!fs.existsSync(globalJsonPath)) {
fs.writeFileSync(globalJsonPath, jsonContents); fs.writeFileSync(globalJsonPath, jsonContents);
} }