We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3ecdc5 commit 26d3ffdCopy full SHA for 26d3ffd
cli.js
@@ -46,7 +46,7 @@ if (argv.l) {
46
} else {
47
require("get-stdin")().then(function (data) {
48
if (data) {
49
- argv._ = [data];
+ argv._ = [require("strip-eof")(data)];
50
say();
51
52
showHelp();
package.json
@@ -42,7 +42,8 @@
42
"dependencies": {
43
"get-stdin": "^5.0.1",
44
"optimist": "~0.6.1",
45
- "string-width": "~2.1.1"
+ "string-width": "~2.1.1",
+ "strip-eof": "^1.0.0"
},
"devDependencies": {
"nodeunit": "~0.11.1",
0 commit comments