shelljs.exec
Advanced tools
Comparing version 1.1.6 to 1.1.7
{ | ||
"name": "shelljs.exec", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Replacement for shelljs' slow exec method - benchmarked 20x faster", | ||
@@ -5,0 +5,0 @@ "author": "Daniel Lewis BSc (Hons)", |
@@ -45,3 +45,4 @@ # shelljs.exec | ||
```javascript 1.5 | ||
expect(cmdObj).to.eql({ | ||
var assert = require('assert') | ||
assert.deepEqual(cmdObj, { | ||
error: null, | ||
@@ -48,0 +49,0 @@ stdout: 'hello\n', |
@@ -13,8 +13,17 @@ 'use strict' | ||
imp.expect(cmdObj).to.eql({ | ||
error: null, // same as child_process.exec | ||
error: null, | ||
stdout: 'hello' + imp.EOL, | ||
stderr: '', // same as child_process.exec | ||
stderr: '', | ||
code: 0, | ||
ok: true | ||
}) | ||
var assert = require('assert') | ||
assert.deepEqual(cmdObj, { | ||
error: null, | ||
stdout: 'hello' + imp.EOL, | ||
stderr: '', | ||
code: 0, | ||
ok: true | ||
}) | ||
}) | ||
@@ -21,0 +30,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
161664
535
116