Skip to content

Commit 0349bb0

Browse files
Fix TRAP cache upload timing
1 parent 3154c4f commit 0349bb0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/analyze-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analyze-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ async function run() {
203203
// Possibly upload the TRAP caches for later re-use
204204
const trapCacheUploadStartTime = performance.now();
205205
const codeql = await getCodeQL(config.codeQLCmd);
206-
trapCacheUploadTime = performance.now() - trapCacheUploadStartTime;
207206
didUploadTrapCaches = await uploadTrapCaches(codeql, config, logger);
207+
trapCacheUploadTime = performance.now() - trapCacheUploadStartTime;
208208

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

0 commit comments

Comments
 (0)