File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
[ ![ Coverage Status] ( https://coveralls.io/repos/yargs/set-blocking/badge.svg?branch= )] ( https://coveralls.io/r/yargs/set-blocking?branch=master )
6
6
[ ![ Standard Version] ( https://img.shields.io/badge/release-standard%20version-brightgreen.svg )] ( https://github.com/conventional-changelog/standard-version )
7
7
8
- set blocking ` stdio ` and ` stderr ` ensuring that terminal output does not truncate.
8
+ Set blocking ` stdio ` and ` stderr ` ensuring that terminal output does not truncate.
9
9
10
10
``` js
11
11
const setBlocking = require (' set-blocking' )
@@ -20,10 +20,10 @@ newer versions of Node.js (`0.12+`), truncating terminal output.
20
20
21
21
You should be mindful of the side-effects caused by using ` set-blocking ` :
22
22
23
- * if your module sets blocking to ` true ` , it will effect other modules
23
+ * If your module sets blocking to ` true ` , it will affect other modules
24
24
consuming your library. In [ yargs] ( https://github.com/yargs/yargs/blob/master/yargs.js#L653 ) we only call
25
25
` setBlocking(true) ` once we already know we are about to call ` process.exit(code) ` .
26
- * this patch will not apply to subprocesses spawned with ` isTTY = true ` , this is
26
+ * This patch will not apply to subprocesses spawned with ` isTTY = true ` , this is
27
27
the [ default ` spawn() ` behavior] ( https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options ) .
28
28
29
29
## License
You can’t perform that action at this time.
0 commit comments