[Pkg-javascript-commits] [node-coveralls] 239/332: Change write-to-stdout option to `--stdout/-s`

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:54:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit 879fb9e850ef569c37dd255059f0e63b6029281a
Author: Anna Henningsen <sqrt at entless.org>
Date:   Wed Apr 15 16:56:42 2015 +0200

    Change write-to-stdout option to `--stdout/-s`
---
 lib/sendToCoveralls.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/sendToCoveralls.js b/lib/sendToCoveralls.js
index f574997..9606a08 100644
--- a/lib/sendToCoveralls.js
+++ b/lib/sendToCoveralls.js
@@ -21,7 +21,7 @@ var sendToCoveralls = function(obj, cb){
 
 function hasWriteToStdoutOption(){
     // look into command line arguments starting from index 2
-    return process.argv.slice(2).filter(RegExp.prototype.test.bind(/^(-w|--write)$/)).length > 0;
+    return process.argv.slice(2).filter(RegExp.prototype.test.bind(/^(-s|--stdout)$/)).length > 0;
 }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list