Skip to content

Commit

Permalink
[v 0.2.18]: new release of i18n-action
Browse files Browse the repository at this point in the history
  • Loading branch information
inlang-bot committed Apr 7, 2024
1 parent ae9644f commit 595ab85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -62515,7 +62515,11 @@ async function generateProjectId(args) {
}
const firstCommitHash = await args.repo.getFirstCommitHash();
if (firstCommitHash) {
return hash(`${firstCommitHash + args.projectPath}`);
try {
return await hash(`${firstCommitHash + args.projectPath}`);
} catch (error) {
console.error("Failed to generate project_id", error);
}
}
return void 0;
}
Expand Down

0 comments on commit 595ab85

Please sign in to comment.