bun format

This commit is contained in:
km-anthropic
2025-08-07 15:18:44 -07:00
parent b6238ad00e
commit e2bdca6133
3 changed files with 10 additions and 11 deletions

View File

@@ -114,9 +114,9 @@ export function prepareRunConfig(
// Parse and append custom arguments (these can override the above)
if (options.claudeArgs && options.claudeArgs.trim() !== "") {
const parsed = parseShellArgs(options.claudeArgs);
// shell-quote returns an array that can contain strings and objects
// We only want string arguments
const customArgs = parsed.filter((arg): arg is string => typeof arg === "string");
const customArgs = parsed.filter(
(arg): arg is string => typeof arg === "string",
);
claudeArgs.push(...customArgs);
}