mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 13:26:04 -06:00
refactor(shared): trim helper constants
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/** Upper bound for config path array indexes to reject impractical sparse writes. */
|
||||
export const MAX_CONFIG_PATH_ARRAY_INDEX = 100_000;
|
||||
const MAX_CONFIG_PATH_ARRAY_INDEX = 100_000;
|
||||
|
||||
const CANONICAL_ARRAY_INDEX_SEGMENT = /^(0|[1-9]\d*)$/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user