@feigi/fleet-ctl 3.30.23 → 3.30.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/recipe-prove.mjs +2 -0
package/package.json
CHANGED
package/scripts/recipe-prove.mjs
CHANGED
|
@@ -344,6 +344,8 @@ function writeCache(cache, recipe, repo) {
|
|
|
344
344
|
throw noVerdict(e.message);
|
|
345
345
|
}
|
|
346
346
|
if (!probe.ok) {
|
|
347
|
+
// A git that exited 0 failed on a spawn error alone, which `err` names.
|
|
348
|
+
if (probe.status === 0) throw noVerdict(`git started but does not run: \`git --version\` failed: ${probe.err}`);
|
|
347
349
|
const exit = probe.status === null ? "did not exit 0" : `exited ${probe.status}`;
|
|
348
350
|
const stderrNote = probe.err ? `: ${probe.err}` : " and wrote nothing to stderr";
|
|
349
351
|
throw noVerdict(`git started but does not run: \`git --version\` ${exit}${stderrNote}`);
|