Merge branch 'main' into windows_tracing

This commit is contained in:
Robert Brignull 2020-09-07 17:08:59 +01:00
Родитель 694fa2d961 556aed46b0
Коммит 212f4484d3
6 изменённых файлов: 8 добавлений и 6 удалений

1
lib/codeql.js сгенерированный
Просмотреть файл

@ -129,6 +129,7 @@ async function setupCodeQL(codeqlURL, githubAuth, githubUrl, tempDir, toolsDir,
else { else {
logger.debug('Downloading CodeQL bundle without token.'); logger.debug('Downloading CodeQL bundle without token.');
} }
logger.info(`Downloading CodeQL tools from ${codeqlURL}. This may take a while.`);
let codeqlPath = await toolcacheDownloadTool(codeqlURL, headers, tempDir, logger); let codeqlPath = await toolcacheDownloadTool(codeqlURL, headers, tempDir, logger);
logger.debug(`CodeQL bundle download to ${codeqlPath} complete.`); logger.debug(`CodeQL bundle download to ${codeqlPath} complete.`);
const codeqlExtracted = await toolcache.extractTar(codeqlPath); const codeqlExtracted = await toolcache.extractTar(codeqlPath);

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

4
lib/runner.js сгенерированный
Просмотреть файл

@ -148,9 +148,9 @@ program
.map(([key, value]) => `$env:${key}="${value}"`) .map(([key, value]) => `$env:${key}="${value}"`)
.join('\n'); .join('\n');
fs.writeFileSync(powershellEnvFile, powershellEnvFileContents); fs.writeFileSync(powershellEnvFile, powershellEnvFileContents);
logger.info(`\nCodeQL environment output to "${jsonEnvFile}", "${batEnvFileContents}" and "${powershellEnvFile}". ` + logger.info(`\nCodeQL environment output to "${jsonEnvFile}", "${batEnvFile}" and "${powershellEnvFile}". ` +
`Please export these variables to future processes so the build can be traced. ` + `Please export these variables to future processes so the build can be traced. ` +
`If using cmd/batch run "call ${batEnvFileContents}" ` + `If using cmd/batch run "call ${batEnvFile}" ` +
`or if using PowerShell run "cat ${powershellEnvFile} | Invoke-Expression".`); `or if using PowerShell run "cat ${powershellEnvFile} | Invoke-Expression".`);
} }
else { else {

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -227,6 +227,7 @@ export async function setupCodeQL(
} else { } else {
logger.debug('Downloading CodeQL bundle without token.'); logger.debug('Downloading CodeQL bundle without token.');
} }
logger.info(`Downloading CodeQL tools from ${codeqlURL}. This may take a while.`);
let codeqlPath = await toolcacheDownloadTool(codeqlURL, headers, tempDir, logger); let codeqlPath = await toolcacheDownloadTool(codeqlURL, headers, tempDir, logger);
logger.debug(`CodeQL bundle download to ${codeqlPath} complete.`); logger.debug(`CodeQL bundle download to ${codeqlPath} complete.`);

Просмотреть файл

@ -197,9 +197,9 @@ program
.join('\n'); .join('\n');
fs.writeFileSync(powershellEnvFile, powershellEnvFileContents); fs.writeFileSync(powershellEnvFile, powershellEnvFileContents);
logger.info(`\nCodeQL environment output to "${jsonEnvFile}", "${batEnvFileContents}" and "${powershellEnvFile}". ` + logger.info(`\nCodeQL environment output to "${jsonEnvFile}", "${batEnvFile}" and "${powershellEnvFile}". ` +
`Please export these variables to future processes so the build can be traced. ` + `Please export these variables to future processes so the build can be traced. ` +
`If using cmd/batch run "call ${batEnvFileContents}" ` + `If using cmd/batch run "call ${batEnvFile}" ` +
`or if using PowerShell run "cat ${powershellEnvFile} | Invoke-Expression".`); `or if using PowerShell run "cat ${powershellEnvFile} | Invoke-Expression".`);
} else { } else {