mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-30 22:13:28 +08:00
fix: run pre-bash linters through windows wrappers
This commit is contained in:
committed by
Affaan Mustafa
parent
ae02b26cf9
commit
b5bdd9352f
@@ -274,11 +274,12 @@ if (test('stdin entry point truncates oversized input and preserves pass-through
|
||||
filler: 'x'.repeat(1024 * 1024 + 1024)
|
||||
}
|
||||
});
|
||||
const result = spawnSync('node', [path.join(__dirname, '..', '..', 'scripts', 'hooks', 'pre-bash-commit-quality.js')], {
|
||||
const result = spawnSync(process.execPath, [path.join(__dirname, '..', '..', 'scripts', 'hooks', 'pre-bash-commit-quality.js')], {
|
||||
input: oversized,
|
||||
encoding: 'utf8',
|
||||
stdio: ['pipe', 'pipe', 'pipe'],
|
||||
timeout: 10000
|
||||
timeout: 10000,
|
||||
maxBuffer: 2 * 1024 * 1024
|
||||
});
|
||||
|
||||
assert.strictEqual(result.status, 0);
|
||||
|
||||
Reference in New Issue
Block a user