add newline to output

This commit is contained in:
Robert Brignull 2020-08-26 16:19:34 +01:00
parent 1c004b9275
commit 1f2bd10757
3 changed files with 5 additions and 5 deletions

4
lib/runner.js generated
View file

@ -94,7 +94,7 @@ program
.map(([key, value]) => `$env:${key}="${value}"`)
.join('\n');
fs.writeFileSync(powershellEnvFile, powershellEnvFileContents);
logger.info(`CodeQL environment outputted to "${batEnvFileContents}" and "${powershellEnvFile}". ` +
logger.info(`\nCodeQL environment outputted to "${batEnvFileContents}" and "${powershellEnvFile}". ` +
`Please export these variables to future processes so the build can tbe traced. ` +
`If using cmd/batch run "call ${batEnvFileContents}" ` +
`or if using PowerShell run "cat ${powershellEnvFile} | Invoke-Expression".`);
@ -106,7 +106,7 @@ program
.map(([key, value]) => `${key}="${value}"`)
.join('\n');
fs.writeFileSync(envFile, envFileContents);
logger.info(`CodeQL environment outputted to "${envFile}". ` +
logger.info(`\nCodeQL environment outputted to "${envFile}". ` +
`Please export these variables to future processes so the build can tbe traced, ` +
`for example by running "source ${envFile}".`);
}

File diff suppressed because one or more lines are too long

View file

@ -129,7 +129,7 @@ program
.join('\n');
fs.writeFileSync(powershellEnvFile, powershellEnvFileContents);
logger.info(`CodeQL environment outputted to "${batEnvFileContents}" and "${powershellEnvFile}". ` +
logger.info(`\nCodeQL environment outputted to "${batEnvFileContents}" and "${powershellEnvFile}". ` +
`Please export these variables to future processes so the build can tbe traced. ` +
`If using cmd/batch run "call ${batEnvFileContents}" ` +
`or if using PowerShell run "cat ${powershellEnvFile} | Invoke-Expression".`);
@ -142,7 +142,7 @@ program
.join('\n');
fs.writeFileSync(envFile, envFileContents);
logger.info(`CodeQL environment outputted to "${envFile}". ` +
logger.info(`\nCodeQL environment outputted to "${envFile}". ` +
`Please export these variables to future processes so the build can tbe traced, ` +
`for example by running "source ${envFile}".`);
}