Skip to content

Commit 60a459d

Browse files
committed
Yoda
1 parent 2830e3b commit 60a459d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/incrementVersionAndCreatePR.cjs

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ module.exports = async ({ github, context, versionType }) => {
5858
`Created pull request for version increment to v${version}(${versionType}).`
5959
);
6060
} else {
61-
console.error("Pull request already exists for this version increment");
61+
throw new Error(
62+
`Pull request already exists for version increment to v${version}(${versionType}).`
63+
);
6264
}
6365
};

0 commit comments

Comments
 (0)