Skip to content

Commit

Permalink
Merge pull request #1191 from github/edoardo/fix-upload-times
Browse files Browse the repository at this point in the history
Fix TRAP cache upload timing
  • Loading branch information
edoardopirovano authored Aug 17, 2022
2 parents 3154c4f + 0349bb0 commit 5502fef
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 5502fef

Please sign in to comment.