Skip to content

Commit

Permalink
Diagnosis: dump status report
Browse files Browse the repository at this point in the history
  • Loading branch information
cklin committed Apr 25, 2022
1 parent ce63ab5 commit 958837c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/actions-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/actions-util.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/codeql.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codeql.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/actions-util.ts
Expand Up @@ -728,6 +728,7 @@ export async function createStatusReportBase(
statusReport.codeql_version = codeQlCliVersion;
}

console.log('Generated status report:', JSON.stringify(statusReport));
return statusReport;
}

Expand Down
2 changes: 1 addition & 1 deletion src/codeql.ts
Expand Up @@ -641,7 +641,7 @@ async function getCodeQLForCmd(
async getVersion() {
let result = util.getCachedCodeQlVersion();
if (result === undefined) {
result = await runTool(cmd, ["version", "--format=terse"]);
result = (await runTool(cmd, ["version", "--format=terse"])).trim();
util.cacheCodeQlVersion(result);
}
return result;
Expand Down

0 comments on commit 958837c

Please sign in to comment.