Skip to content

Commit

Permalink
Update bundling.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
smivanhamrah authored Jun 13, 2024
1 parent b14f3c9 commit 2abee97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/aws-cdk-lib/aws-lambda-nodejs/lib/bundling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ class OsCommand {
* Chain commands
*/
function chain(commands: string[]): string {
return commands.filter(c => !!c).join(' && ');
const chainSign = this.osPlatform === 'win32' ? ' ; ' : ' && '
return commands.filter(c => !!c).join(chainSign);
}

/**
Expand Down

0 comments on commit 2abee97

Please sign in to comment.