diff --git a/src/index.ts b/src/index.ts index 7c531b3..f5e6fe0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -38,7 +38,11 @@ async function run() { (cmd, args) => exec.exec(cmd, args, execOptions), startupOptions ).finally(() => { - buildSummary.processAndDisplayBuildSummary(); + try { + buildSummary.processAndDisplayBuildSummary(); + } catch (e) { + console.error('An error occurred while reading the build summary file:', e); + } }); }