Skip to content

Commit

Permalink
update autogen pipeline in js tool (#8171)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Apr 30, 2024
1 parent a236266 commit 8895358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/js-sdk-release-tools/src/autoGenerateInPipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ async function automationGenerateInPipeline(inputJsonPath: string, outputJsonPat
gitCommitId: gitCommitId,
})
}
} catch (e: any) {
logger.logError(e.message);
} catch (e) {
logger.logError((e as any)?.message);
throw e;
} finally {
await restoreNodeModules(String(shell.pwd()));
Expand Down

0 comments on commit 8895358

Please sign in to comment.