@groma/scanner-go 0.2.1 → 0.2.3
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/darwin-arm64/worker
CHANGED
|
Binary file
|
package/dist/linux-arm64/worker
CHANGED
|
Binary file
|
package/dist/linux-x64/worker
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -548,7 +548,7 @@ function run(command, args, root, { env = process.env, input } = {}) {
|
|
|
548
548
|
maxBuffer: 64 * 1024 * 1024
|
|
549
549
|
}, (error, stdout, stderr) => {
|
|
550
550
|
if (error)
|
|
551
|
-
reject(new Error(stderr.trim() || stdout.trim() || error.message));
|
|
551
|
+
reject(new Error(stderr.trim() || stdout.trim() || error.message, { cause: error }));
|
|
552
552
|
else
|
|
553
553
|
resolve(stdout);
|
|
554
554
|
});
|