[Pkg-javascript-commits] [node-shell-quote] 49/137: double-char op test now passing

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:19:38 UTC 2017


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

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

commit 3998b0f9ecb32883f8eb3be31110a84d276ac764
Author: James Halliday <mail at substack.net>
Date:   Mon May 13 03:14:57 2013 -0700

    double-char op test now passing
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 774f9d8..7721068 100644
--- a/index.js
+++ b/index.js
@@ -41,7 +41,7 @@ exports.parse = function parse (s, env) {
                 .replace(/\\([ "'\\$`(){}!#&*|])/g, '$1')
             ;
         }
-        else if (RegExp('^[' + META + ']$').test(s)) {
+        else if (RegExp('^' + CONTROL + '$').test(s)) {
             return { op: s };
         }
         else return s.replace(

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



More information about the Pkg-javascript-commits mailing list