mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
bun format
This commit is contained in:
@@ -61,7 +61,7 @@ describe("shell-quote parseShellArgs", () => {
|
||||
test("should filter out non-string results", () => {
|
||||
// shell-quote can return objects for operators like | > < etc
|
||||
const result = parseShellArgs("echo hello");
|
||||
const filtered = result.filter(arg => typeof arg === "string");
|
||||
const filtered = result.filter((arg) => typeof arg === "string");
|
||||
expect(filtered).toEqual(["echo", "hello"]);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user