mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 22:50:17 +08:00
Check !== undefined rather than truthiness
This commit is contained in:
2
lib/analyze-action.js
generated
2
lib/analyze-action.js
generated
@@ -97585,7 +97585,7 @@ async function cleanupAndUploadDatabases(repositoryNwo, codeql, config, apiDetai
|
||||
reports.push({
|
||||
language,
|
||||
error: getErrorMessage(e),
|
||||
...bundledDbSize ? { zipped_upload_size_bytes: bundledDbSize } : {}
|
||||
...bundledDbSize !== void 0 ? { zipped_upload_size_bytes: bundledDbSize } : {}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user