Skip to content

Commit ea25a56

Browse files
committed
chore: fix naming with spaces
1 parent b8f07c0 commit ea25a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/type-generation/languages/language.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class LanguageMeta {
3131
}
3232

3333
static toCamelCase(string) {
34-
return this.toKebabCase(string).replace(/-([a-z])/g, (g) =>
34+
return this.toKebabCase(string).replace(/-([a-z0-9])/g, (g) =>
3535
g[1].toUpperCase()
3636
);
3737
}

0 commit comments

Comments
 (0)