Release ForgeFlow 0.5.2

This commit is contained in:
NuklearRabbit
2026-07-25 01:07:54 +02:00
parent 602309b203
commit cf1f67a823
23 changed files with 550 additions and 72 deletions
+8
View File
@@ -1,8 +1,10 @@
import test from 'node:test';
import assert from 'node:assert/strict';
import toolInvocation from '../src/shared/tool-invocation.cjs';
import processRunner from '../src/main/process-runner.cjs';
const { npmProbeCandidates } = toolInvocation;
const { run } = processRunner;
test('uses npm CLI through Node when doctor is launched by npm on Windows', () => {
const candidates = npmProbeCandidates({
@@ -39,3 +41,9 @@ test('uses npm directly on non-Windows systems', () => {
{ file: 'npm', args: ['--version'], source: 'path' }
]);
});
test('process runner accepts stdin for Git pathspec transport', async () => {
const result = await run(process.execPath, ['-e', 'process.stdin.pipe(process.stdout)'], { input: 'a\0b\0' });
assert.equal(result.stdout, 'a\0b\0');
});