add debug mode to limit output

This commit is contained in:
Robert Brignull 2020-08-27 14:26:44 +01:00
parent f80d660e33
commit 6f422a4303
18 changed files with 86 additions and 69 deletions

View file

@ -29,7 +29,7 @@ test('download codeql bundle cache', async t => {
tmpDir,
tmpDir,
'runner',
getRunnerLogger());
getRunnerLogger(true));
t.assert(toolcache.find('CodeQL', `0.0.0-${version}`));
}
@ -55,7 +55,7 @@ test('parse codeql bundle url version', t => {
const url = `https://github.com/.../codeql-bundle-${version}/...`;
try {
const parsedVersion = codeql.getCodeQLURLVersion(url, getRunnerLogger());
const parsedVersion = codeql.getCodeQLURLVersion(url, getRunnerLogger(true));
t.deepEqual(parsedVersion, expectedVersion);
} catch (e) {
t.fail(e.message);