Commit a51d7418 authored by Ross Gammon's avatar Ross Gammon

Merge tag 'upstream/2.1.9'

Upstream version 2.1.9

# gpg: Signature made Mon 21 Mar 2016 12:19:47 CET
# gpg:                using RSA key 0x733E6BF93CE8F6D9
# gpg: Good signature from "Ross Gammon (Rosco) <rossgammon@mail.dk>"
# gpg:                 aka "Ross Gammon (Genealogy) <genealogy@the-gammons.net>"
# gpg:                 aka "Ross Gammon (www.one-name.org) <gammon@one-name.org>"
# gpg:                 aka "Ross Gammon (www.the-gammons.net) <ross@the-gammons.net>"
# gpg:                 aka "[jpeg image of size 3524]"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: FBEE 0190 904F 1EA0 BA6A  300E 53FE 7BBD A689 10FC
#      Subkey fingerprint: 7AEE BC7A 44AB 8B90 5CA7  8FC6 733E 6BF9 3CE8 F6D9
parents e1703cef 25131a07
......@@ -42,7 +42,7 @@ Exactly the same way as node's [`spawn`](https://nodejs.org/api/child_process.ht
```javascript
var spawn = require('cross-spawn-async');
var process = spawn('npm', ['list', '-g', '-depth' '0'], { stdio: 'inherit' });
var process = spawn('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' });
```
......
......@@ -23,6 +23,7 @@ function readShebang(command) {
try {
fd = fs.openSync(command, 'r');
fs.readSync(fd, buffer, 0, 150, 0);
fs.closeSync(fd);
} catch (e) {}
// Check if it is a shebang
......
{
"name": "cross-spawn-async",
"version": "2.1.8",
"version": "2.1.9",
"description": "Cross platform child_process#spawn",
"main": "index.js",
"scripts": {
......@@ -35,7 +35,7 @@
},
"devDependencies": {
"expect.js": "^0.3.0",
"glob": "^6.0.3",
"glob": "^7.0.0",
"mkdirp": "^0.5.1",
"mocha": "^2.2.5",
"rimraf": "^2.5.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment