[Pkg-javascript-commits] [node-module-deps] 249/444: support - as a filename
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:48:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-module-deps.
commit 4f80da96b8fe050bb462f2fbb9ee9dfa9783b1b7
Author: James Halliday <mail at substack.net>
Date: Mon Jul 14 18:32:49 2014 -0700
support - as a filename
---
bin/cmd.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/cmd.js b/bin/cmd.js
index 3a58df2..afec864 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -15,6 +15,7 @@ var stringify = JSONStream.stringify();
stringify.pipe(process.stdout);
var files = argv._.map(function (file) {
+ if (file === '-') return process.stdin;
return path.resolve(file);
});
mdeps(files, argv).pipe(stringify);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git
More information about the Pkg-javascript-commits
mailing list