Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove false-positive in incorrect stdin(4) detection
Previously, when the file-descriptor `0` (stdin) was a FIFO, and the process reported not being in a TTY, and files were given, an incorrect error was thrown. Now, when files are given, stdin(4) is completely and silently ignored, when no files are given and the process reports being a TTY, an error is thrown, and when no files are given and the process reports not being a TTY, stdin(4) is read. Closes GH-176. Closes remarkjs/gulp-remark#9.
- Loading branch information
Showing
2 changed files
with
2 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters