fix(#166): omit bash.exe wrapper for windows claude sh hooks (#203)

* fix(#166): omit bash.exe wrapper for windows claude sh hooks

* chore(#166): add changeset for windows claude sh hook fix

* fix(#166): reset exitCode in sdk bridge integration test
This commit is contained in:
Tom Boucher
2026-05-24 14:16:16 -04:00
committed by GitHub
parent 7bf06f7a68
commit 0dc3fd604c
4 changed files with 48 additions and 5 deletions

View File

@@ -28,11 +28,16 @@
* surface the cause directly rather than silently masking under fallback.
*/
const { test, describe } = require('node:test');
const { test, describe, afterEach } = require('node:test');
const assert = require('node:assert/strict');
const path = require('node:path');
const BRIDGE_PATH = path.join(__dirname, '..', 'get-shit-done', 'bin', 'lib', 'cjs-sdk-bridge.cjs');
const initialExitCode = process.exitCode;
afterEach(() => {
process.exitCode = initialExitCode;
});
describe('cjs-sdk-bridge: SDK runtime bridge integration', () => {
test('tryLoadSdk() resolves the bundled SDK on the current checkout', () => {