Skip to content

Commit

Permalink
rm quotes from regex
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Sep 25, 2024
1 parent 9880f8c commit 9a4e065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const isVersionedBranch = (branchName: string): boolean => {
* @param branchName
*/
export const isVersionedUCXBranch = (branchName: string): boolean => {
const regex = "/^branch-\d{1,2}\.\d\d$/";
const regex = /^branch-\d{1,2}\.\d\d$/;
return Boolean(branchName.match(regex));
};

Expand Down

0 comments on commit 9a4e065

Please sign in to comment.