@joshski/dust 0.1.52 → 0.1.54
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/dist/dust.js +10 -1
- package/package.json +1 -1
package/dist/dust.js
CHANGED
|
@@ -3386,6 +3386,9 @@ function runBufferedProcess(spawnFn, command, commandArguments, cwd, shell, time
|
|
|
3386
3386
|
timer = setTimeout(() => {
|
|
3387
3387
|
resolved = true;
|
|
3388
3388
|
proc.kill();
|
|
3389
|
+
proc.stdout?.destroy();
|
|
3390
|
+
proc.stderr?.destroy();
|
|
3391
|
+
proc.unref();
|
|
3389
3392
|
resolve({
|
|
3390
3393
|
exitCode: 1,
|
|
3391
3394
|
output: chunks.join(""),
|
|
@@ -5131,4 +5134,10 @@ async function wireEntry(fsPrimitives, processPrimitives, consolePrimitives) {
|
|
|
5131
5134
|
}
|
|
5132
5135
|
|
|
5133
5136
|
// lib/cli/run.ts
|
|
5134
|
-
await wireEntry({ existsSync, statSync: statSync2, readFile: readFile2, writeFile: writeFile2, mkdir: mkdir2, readdir: readdir2, chmod: chmod2 }, {
|
|
5137
|
+
await wireEntry({ existsSync, statSync: statSync2, readFile: readFile2, writeFile: writeFile2, mkdir: mkdir2, readdir: readdir2, chmod: chmod2 }, {
|
|
5138
|
+
argv: process.argv,
|
|
5139
|
+
cwd: () => process.cwd(),
|
|
5140
|
+
exit: (code) => {
|
|
5141
|
+
process.exitCode = code;
|
|
5142
|
+
}
|
|
5143
|
+
}, { log: console.log, error: console.error });
|