Skip to content

Commit

Permalink
Await commitOid
Browse files Browse the repository at this point in the history
  • Loading branch information
norascheuch committed Oct 9, 2023
1 parent aed2e7f commit 8193a92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/database-upload.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/database-upload.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/database-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function uploadDatabases(
const bundledDb = await bundleDb(config, language, codeql, language);
const bundledDbSize = fs.statSync(bundledDb).size;
const bundledDbReadStream = fs.createReadStream(bundledDb);
const commitOid = actionsUtil.getCommitOid(
const commitOid = await actionsUtil.getCommitOid(
actionsUtil.getRequiredInput("checkout_path"),
);
try {
Expand Down

0 comments on commit 8193a92

Please sign in to comment.