@rlyle1179/serverless-aws-batch 1.0.47 → 1.0.48
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/lib/docker.js +4 -4
- package/package.json +1 -1
package/lib/docker.js
CHANGED
|
@@ -33,7 +33,7 @@ function dockerCommand(options, cwd = null, stdio = null) {
|
|
|
33
33
|
spawnOptions.stdio = stdio;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
console.error("dockerCommand:", options, spawnOptions);
|
|
36
|
+
//console.error("dockerCommand:", options, spawnOptions);
|
|
37
37
|
const ps = spawnSync(cmd, options, spawnOptions);
|
|
38
38
|
if (ps.error) {
|
|
39
39
|
if (ps.error.code === 'ENOENT') {
|
|
@@ -41,9 +41,9 @@ function dockerCommand(options, cwd = null, stdio = null) {
|
|
|
41
41
|
}
|
|
42
42
|
throw new Error(ps.error);
|
|
43
43
|
} else if (ps.status !== 0) {
|
|
44
|
-
console.error("docker output:", ps.output);
|
|
45
|
-
console.error("docker stdout:", ps.stdout);
|
|
46
|
-
console.error("docker stderr:", ps.stderr)
|
|
44
|
+
//console.error("docker output:", ps.output);
|
|
45
|
+
//console.error("docker stdout:", ps.stdout);
|
|
46
|
+
//console.error("docker stderr:", ps.stderr)
|
|
47
47
|
throw new Error(ps.stderr);
|
|
48
48
|
}
|
|
49
49
|
return ps;
|