mol_plot_all 1.2.934 → 1.2.936
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/node.d.ts +90 -90
- package/node.deps.json +1 -1
- package/node.js +3 -2
- package/node.js.map +1 -1
- package/node.mjs +3 -2
- package/node.test.js +3 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +90 -90
package/node.js
CHANGED
|
@@ -2025,8 +2025,9 @@ var $;
|
|
|
2025
2025
|
shell: true,
|
|
2026
2026
|
env: this.$mol_env(),
|
|
2027
2027
|
});
|
|
2028
|
-
if (res.status || res.error)
|
|
2029
|
-
return $mol_fail(res.error || new Error(res.stderr.toString()));
|
|
2028
|
+
if (res.status || res.error) {
|
|
2029
|
+
return $mol_fail(res.error || new Error(res.stderr.toString(), { cause: res.stdout }));
|
|
2030
|
+
}
|
|
2030
2031
|
if (!res.stdout)
|
|
2031
2032
|
res.stdout = Buffer.from([]);
|
|
2032
2033
|
return res;
|