Skip to content

Commit ff4bc5a

Browse files
dependabot[bot]shiftkey
authored andcommitted
Bump @types/node from 11.9.6 to 11.10.5 (desktop#216)
* Bump @types/node from 11.9.6 to 11.10.5 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 11.9.6 to 11.10.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <[email protected]> * improve error handling of spawned process state
1 parent 6f16ab7 commit ff4bc5a

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"homepage": "https://github.com/desktop/dugite-native#readme",
2626
"devDependencies": {
2727
"@octokit/rest": "^16.17.0",
28-
"@types/node": "^11.9.6",
28+
"@types/node": "^11.10.5",
2929
"@types/request-promise": "^4.1.42",
3030
"@types/semver": "^5.5.0",
3131
"@types/yaml": "^1.0.2",

script/update-git.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ function spawn(
2424

2525
child.on('error', reject)
2626

27+
if (child.stdout === null) {
28+
reject(new Error('Unable to read stdout of child process'))
29+
return
30+
}
31+
2732
child.stdout.on('data', data => {
2833
receivedData += data
2934
})

0 commit comments

Comments
 (0)