Skip to content

Commit aa94953

Browse files
boneskullclaude
andcommitted
fix: address PR review comments
- Move CamelCaseKeys type to correct alphabetical position per linting rules - Update kebabToCamel regex to handle uppercase letters after hyphens 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6dfa924 commit aa94953

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bargs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export function merge(
346346
* Convert kebab-case string to camelCase.
347347
*/
348348
const kebabToCamel = (s: string): string =>
349-
s.replace(/-([a-z])/g, (_, c: string) => c.toUpperCase());
349+
s.replace(/-([a-zA-Z])/g, (_, c: string) => c.toUpperCase());
350350

351351
/**
352352
* Transform for use with `map()` that converts kebab-case option keys to

0 commit comments

Comments
 (0)