Skip to content

Commit

Permalink
Merge pull request #22 from zapolnoch/stream-test
Browse files Browse the repository at this point in the history
v2.1
  • Loading branch information
zapolnoch authored Apr 25, 2021
2 parents cc323e9 + 5a270ee commit 991ce71
Show file tree
Hide file tree
Showing 5 changed files with 909 additions and 136 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ language: node_js

os:
- linux
- osx
# - osx

node_js:
- 10
- 12
- 14
- 16

before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update ; fi
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function recognize(input, config = {}) {
if (error) reject(error)
resolve(stdout)
})
if (inputOption === 'stdin') {
if (inputOption === "stdin") {
child.stdin.write(input)
child.stdin.end()
}
Expand Down
Loading

0 comments on commit 991ce71

Please sign in to comment.