Skip to content

Commit

Permalink
fix: fix branchName
Browse files Browse the repository at this point in the history
  • Loading branch information
EYssel committed Sep 30, 2024
1 parent fd33a9d commit 10a3520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lambda-sqlite-efs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const process = require("process");
const GIT_BRANCH = process.env.GIT_BRANCH;

const getBranchSuffix = (branchName: string) => {
return branchName !== `master` ? `-${branchName.replace("/", "_")}` : "";
return branchName !== `master` ? `-${branchName || "".replace("/", "_")}` : "";
};

const app = new cdk.App();
Expand Down

0 comments on commit 10a3520

Please sign in to comment.