mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
fix: detach ecc2 background session runners (#1387)
* fix: detach ecc2 background session runners * fix: stabilize windows ci portability * fix: persist detached runner startup stderr * fix: prefer repo-relative hook file paths * fix: make npm pack test shell-safe on windows
This commit is contained in:
parent
125d5e6199
commit
fc5921a521
4 changed files with 260 additions and 41 deletions
|
|
@ -49,8 +49,9 @@ function main() {
|
|||
const result = spawnSync("npm", ["pack", "--dry-run", "--json"], {
|
||||
cwd: repoRoot,
|
||||
encoding: "utf8",
|
||||
shell: process.platform === "win32",
|
||||
})
|
||||
assert.strictEqual(result.status, 0, result.stderr)
|
||||
assert.strictEqual(result.status, 0, result.error?.message || result.stderr)
|
||||
|
||||
const packOutput = JSON.parse(result.stdout)
|
||||
const packagedPaths = new Set(packOutput[0]?.files?.map((file) => file.path) ?? [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue