@rlyle1179/serverless-aws-batch 1.0.42 → 1.0.43

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.
Files changed (2) hide show
  1. package/lib/docker.js +5 -6
  2. package/package.json +1 -1
package/lib/docker.js CHANGED
@@ -39,13 +39,12 @@ function dockerCommand(options, cwd = null, stdio = null) {
39
39
  throw new Error('docker not found! Please install it.');
40
40
  }
41
41
  throw new Error(ps.error);
42
+ } else if (ps.status !== 0) {
43
+ console.error("docker output:", ps.output);
44
+ console.error("docker stdout:", ps.stdout);
45
+ console.error("docker stderr:", ps.stderr)
46
+ //throw new Error(ps.stderr);
42
47
  }
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)
47
- // throw new Error(ps.stderr);
48
- // }
49
48
  return ps;
50
49
  }
51
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {