Skip to content

Commit

Permalink
Fix TRAP cache upload timing
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardopirovano committed Aug 17, 2022
1 parent 3154c4f commit 0349bb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/analyze-action.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/analyze-action.js.map

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

2 changes: 1 addition & 1 deletion src/analyze-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ async function run() {
// Possibly upload the TRAP caches for later re-use
const trapCacheUploadStartTime = performance.now();
const codeql = await getCodeQL(config.codeQLCmd);
trapCacheUploadTime = performance.now() - trapCacheUploadStartTime;
didUploadTrapCaches = await uploadTrapCaches(codeql, config, logger);
trapCacheUploadTime = performance.now() - trapCacheUploadStartTime;

// We don't upload results in test mode, so don't wait for processing
if (util.isInTestMode()) {
Expand Down

0 comments on commit 0349bb0

Please sign in to comment.