Skip to content

Commit bbca408

Browse files
committed
Add "-" to list of chars not escaped from bundle ids
1 parent 8a1675a commit bbca408

File tree

1 file changed

+1
-1
lines changed
  • packages/gyp-to-cmake/src

1 file changed

+1
-1
lines changed

packages/gyp-to-cmake/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function generateProjectName(gypPath: string) {
2828
return name
2929
.replace(/^@/g, "")
3030
.replace(/\//g, "--")
31-
.replace(/[^a-zA-Z0-9_]/g, "_");
31+
.replace(/[^a-zA-Z0-9_-]/g, "_");
3232
}
3333

3434
export function transformBindingGypFile(

0 commit comments

Comments
 (0)