From 595ab856a89d3186bf532f74d2dd6b0f57601ff0 Mon Sep 17 00:00:00 2001 From: inlang-bot Date: Sun, 7 Apr 2024 13:28:19 +0000 Subject: [PATCH] [v 0.2.18]: new release of i18n-action --- dist/index.cjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dist/index.cjs b/dist/index.cjs index dacd1f5..d117197 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -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; }