mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 23:10:24 +00:00
refactor: dedupe extension lowercase helpers
This commit is contained in:
@@ -77,7 +77,7 @@ function parseExecDirectiveArgs(raw: string): Omit<
|
||||
if (idx === -1) {
|
||||
return null;
|
||||
}
|
||||
const key = token.slice(0, idx).trim().toLowerCase();
|
||||
const key = normalizeOptionalLowercaseString(token.slice(0, idx));
|
||||
const value = token.slice(idx + 1).trim();
|
||||
if (!key) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user