Skip to content

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

test: the executable bit is POSIX-only

Shrish Dwivedibefa0d5421ef
diff --git a/test/workspace-sync-skills.test.ts b/test/workspace-sync-skills.test.ts
index c7e00ece..5a57dbc0 100644
--- a/test/workspace-sync-skills.test.ts
+++ b/test/workspace-sync-skills.test.ts
@@ -199,7 +199,8 @@ test("a skill goes up with its folder: what git tracks, text as text, the rest a
assert.deepEqual(Object.keys(files).sort(), ["assets/logo.png", "references/forms.md", "scripts/fill.py"]);
assert.equal(files["references/forms.md"]!.content, "# Forms\nUse field names.\n");
assert.equal(files["references/forms.md"]!.encoding, undefined);
- assert.equal(files["scripts/fill.py"]!.executable, true);
+ // Windows has no executable bit to keep.
+ if (process.platform !== "win32") assert.equal(files["scripts/fill.py"]!.executable, true);
assert.equal(files["assets/logo.png"]!.encoding, "base64");
assert.deepEqual([...Buffer.from(files["assets/logo.png"]!.content, "base64")], [0x89, 0x50, 0x4e, 0x47, 0, 1, 2]);