libdragon 11.4.3 → 11.4.4
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/modules/helpers.js +15 -2
- package/package.json +2 -2
package/modules/helpers.js
CHANGED
|
@@ -307,7 +307,10 @@ const dockerExec = /** @type {DockerExec} */ (
|
|
|
307
307
|
workDirIndex >= 0 ? finalDockerParams[workDirIndex + 1] : undefined;
|
|
308
308
|
return spawnProcess(finalCmdWithParams[0], finalCmdWithParams.slice(1), {
|
|
309
309
|
...options,
|
|
310
|
-
spawnOptions: {
|
|
310
|
+
spawnOptions: {
|
|
311
|
+
cwd: workDir,
|
|
312
|
+
...options?.spawnOptions,
|
|
313
|
+
},
|
|
311
314
|
});
|
|
312
315
|
}
|
|
313
316
|
|
|
@@ -345,7 +348,17 @@ const dockerExec = /** @type {DockerExec} */ (
|
|
|
345
348
|
libdragonInfo.containerId,
|
|
346
349
|
...finalCmdWithParams,
|
|
347
350
|
],
|
|
348
|
-
|
|
351
|
+
{
|
|
352
|
+
...options,
|
|
353
|
+
spawnOptions: {
|
|
354
|
+
env: {
|
|
355
|
+
// Prevent the annoyin docker "What's next?" message. It messes up everything.
|
|
356
|
+
DOCKER_CLI_HINTS: 'false',
|
|
357
|
+
...options?.spawnOptions?.env,
|
|
358
|
+
},
|
|
359
|
+
...options?.spawnOptions,
|
|
360
|
+
},
|
|
361
|
+
}
|
|
349
362
|
);
|
|
350
363
|
}
|
|
351
364
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libdragon",
|
|
3
|
-
"version": "11.4.
|
|
3
|
+
"version": "11.4.4",
|
|
4
4
|
"description": "This is a docker wrapper for libdragon",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"engines": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"label": "Linux executable"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
|
-
"path": "libdragon-macos-
|
|
91
|
+
"path": "libdragon-macos-arm64.tar.gz",
|
|
92
92
|
"label": "MacOS executable"
|
|
93
93
|
},
|
|
94
94
|
{
|