Skip to content

Commit 4705def

Browse files
fix: replace all colons in host slug on Windows, not just the first
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 425edbb commit 4705def

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/src/core/services/directory-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function createHostSlug(host: string): string {
1818
}
1919

2020
if (isWindows) {
21-
cleanHost = cleanHost.replace(':', '_');
21+
cleanHost = cleanHost.replace(/:/g, '_');
2222
}
2323

2424
// For domains, extract main parts

0 commit comments

Comments
 (0)