mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-22 06:32:00 +00:00
refactor: remove confirmed dead helpers
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export function toSnakeCaseKey(key: string): string {
|
||||
function toSnakeCaseKey(key: string): string {
|
||||
return key
|
||||
.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2")
|
||||
.replace(/([a-z0-9])([A-Z])/g, "$1_$2")
|
||||
|
||||
Reference in New Issue
Block a user