shelljs / shx

Portable Shell Commands for Node
MIT License
1.72k stars 44 forks source link

fix: only wait for stdin when appropriate #98

Closed nfischer closed 7 years ago

nfischer commented 7 years ago

Don't deadlock waiting for stdin during situations when stdin is not expected.

Fixes #95

codecov-io commented 7 years ago

Current coverage is 100% (diff: 100%)

Merging #98 into master will not change coverage

@@           master   #98   diff @@
===================================
  Files           2     3     +1   
  Lines          21    22     +1   
  Methods         0     0          
  Messages        0     0          
  Branches        0     0          
===================================
+ Hits           21    22     +1   
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last update 92c16d7...66ea639

nfischer commented 7 years ago

LGTM since we should release this quickly