Skip to content

Commit af85575

Browse files
committed
Fix workspace parse of branch name
1 parent f127ea3 commit af85575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/fix/git.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export function getSocketBranchPattern(
7171
const escType = purlObj ? escapeRegExp(purlObj.type) : '[^_]+'
7272
const escWorkspace = workspace
7373
? `${escapeRegExp(formatBranchName(workspace))}`
74-
: 'root'
74+
: '[^_]+'
7575
const escMaybeNamespace = purlObj?.namespace
7676
? `${escapeRegExp(formatBranchName(purlObj.namespace))}--`
7777
: ''

0 commit comments

Comments
 (0)