Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
fix: fix process substitution hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 4, 2018
1 parent 8c861cd commit 1e5a492
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion lib/dyno.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class Dyno extends Duplex {
let stdin = process.stdin
stdin.setEncoding('utf8')
if (stdin.unref) stdin.unref()
if (tty.isatty(0)) {
if (!this.opts['no-tty'] && tty.isatty(0)) {
stdin.setRawMode(true)
stdin.pipe(c)
let sigints = []
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"dependencies": {
"@heroku-cli/command": "^8.0.6",
"@heroku-cli/command": "^8.0.7",
"@heroku-cli/notifications": "^1.2.0",
"co": "4.6.0",
"eventsource": "^1.0.5",
Expand All @@ -26,16 +26,16 @@
"shellwords": "^0.1.1"
},
"devDependencies": {
"@oclif/dev-cli": "^1.13.13",
"@oclif/plugin-legacy": "^1.0.13",
"@oclif/dev-cli": "^1.13.16",
"@oclif/plugin-legacy": "^1.0.14",
"fixture-stdout": "0.2.1",
"mocha": "^5.1.1",
"mocha-junit-reporter": "1.17.0",
"netrc": "0.1.4",
"nock": "^9.2.5",
"sinon": "^5.0.3",
"standard": "^11.0.1",
"unexpected": "^10.37.5"
"unexpected": "^10.37.6"
},
"files": [
".oclif.manifest.json",
Expand Down
64 changes: 32 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
strip-ansi "^4.0.0"
supports-color "^5.1.0"

"@heroku-cli/command@^8.0.6":
version "8.0.6"
resolved "https://registry.yarnpkg.com/@heroku-cli/command/-/command-8.0.6.tgz#ad17fd53250da2a31a6775879af6ea18a673801d"
"@heroku-cli/command@^8.0.7":
version "8.0.7"
resolved "https://registry.yarnpkg.com/@heroku-cli/command/-/command-8.0.7.tgz#c601e0d9f8ed8a8a98b1856b3b8e71c3c663bc44"
dependencies:
"@oclif/errors" "^1.0.6"
cli-ux "^3.4.1"
Expand All @@ -35,29 +35,29 @@
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"

"@oclif/command@^1.4.18":
version "1.4.19"
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.4.19.tgz#7158eec97d9b4c4a109181e6a71bd83d34757254"
"@oclif/command@^1.4.20":
version "1.4.20"
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.4.20.tgz#7368c9c9f7f596fc8efffd7ec89118feed5203d8"
dependencies:
"@oclif/errors" "^1.0.6"
"@oclif/errors" "^1.0.8"
"@oclif/parser" "^3.3.3"
debug "^3.1.0"
semver "^5.5.0"

"@oclif/config@^1.6.16":
version "1.6.16"
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.6.16.tgz#6bcb03bf30ee54eeafa788777d965bf47bb5047d"
"@oclif/config@^1.6.17":
version "1.6.17"
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.6.17.tgz#e9608f56e5acd49fcaf3bbfcc3e8818d81b1ba12"
dependencies:
debug "^3.1.0"

"@oclif/dev-cli@^1.13.13":
version "1.13.13"
resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.13.13.tgz#40f60c002f2f915c11d9f7a09d2f46967ecc072a"
"@oclif/dev-cli@^1.13.16":
version "1.13.16"
resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.13.16.tgz#5a36e6a44af085c7ad44bb3902f45bfcbc6eab48"
dependencies:
"@oclif/command" "^1.4.18"
"@oclif/config" "^1.6.16"
"@oclif/errors" "^1.0.7"
"@oclif/plugin-help" "^1.2.7"
"@oclif/command" "^1.4.20"
"@oclif/config" "^1.6.17"
"@oclif/errors" "^1.0.8"
"@oclif/plugin-help" "^1.2.10"
cli-ux "^3.4.1"
debug "^3.1.0"
fs-extra "^6.0.0"
Expand All @@ -77,9 +77,9 @@
strip-ansi "^4.0.0"
wrap-ansi "^3.0.1"

"@oclif/errors@^1.0.7":
version "1.0.7"
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.0.7.tgz#13d7205801944c341534370e65140d21ab929e24"
"@oclif/errors@^1.0.8":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.0.8.tgz#2f8239267506bb7c3f5fd776144c2686e5b7fff7"
dependencies:
clean-stack "^1.3.0"
fs-extra "^6.0.0"
Expand All @@ -98,25 +98,25 @@
"@oclif/linewrap" "^1.0.0"
chalk "^2.4.0"

"@oclif/plugin-help@^1.2.7":
version "1.2.7"
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-1.2.7.tgz#4fdfa9cfe53b8bc68b6fabba1126e13debebc87b"
"@oclif/plugin-help@^1.2.10":
version "1.2.10"
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-1.2.10.tgz#c2bb2b8f09027bf5a55e96346b8525d4dcff8c3e"
dependencies:
"@oclif/command" "^1.4.18"
"@oclif/command" "^1.4.20"
chalk "^2.4.1"
indent-string "^3.2.0"
lodash.template "^4.4.0"
string-width "^2.1.1"
widest-line "^2.0.0"
wrap-ansi "^3.0.1"

"@oclif/plugin-legacy@^1.0.13":
version "1.0.13"
resolved "https://registry.yarnpkg.com/@oclif/plugin-legacy/-/plugin-legacy-1.0.13.tgz#c06e51f2fa3fe55c65da00a3038748418917e379"
"@oclif/plugin-legacy@^1.0.14":
version "1.0.14"
resolved "https://registry.yarnpkg.com/@oclif/plugin-legacy/-/plugin-legacy-1.0.14.tgz#31202b4502641305608b4c101abfe3ca4ad4700f"
dependencies:
"@heroku-cli/color" "^1.1.3"
"@heroku-cli/command" "^8.0.6"
"@oclif/command" "^1.4.18"
"@heroku-cli/command" "^8.0.7"
"@oclif/command" "^1.4.20"
ansi-escapes "^3.1.0"
debug "^3.1.0"
semver "^5.5.0"
Expand Down Expand Up @@ -2913,9 +2913,9 @@ unexpected-bluebird@2.9.34-longstack2:
version "2.9.34-longstack2"
resolved "https://registry.yarnpkg.com/unexpected-bluebird/-/unexpected-bluebird-2.9.34-longstack2.tgz#49acac753b0556ded6025210ee96182307d2b2c9"

unexpected@^10.37.5:
version "10.37.5"
resolved "https://registry.yarnpkg.com/unexpected/-/unexpected-10.37.5.tgz#2022b2868482cae60c2fb77fe132c7a07bc8aa0f"
unexpected@^10.37.6:
version "10.37.6"
resolved "https://registry.yarnpkg.com/unexpected/-/unexpected-10.37.6.tgz#212f01c2fc5a65b995f5c7b8af0c7ee28370b15f"
dependencies:
array-changes "3.0.1"
array-changes-async "3.0.1"
Expand Down

0 comments on commit 1e5a492

Please sign in to comment.