Skip to content

Commit

Permalink
fixed unescaped metachars and bump
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed May 18, 2012
1 parent a315125 commit 5ce339f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports.parse = function (s) {
.replace(/\\(["'\\$`(){}!#&*|])/g, '$1');
;
}
else return s.replace(/\\ /g, ' ');
else return s.replace(/\\([ "'\\$`(){}!#&*|])/g, '$1');
})
;
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "shell-quote",
"version" : "0.0.0",
"version" : "0.0.1",
"description" : "quote and parse shell commands",
"main" : "index.js",
"directories" : {
Expand Down

0 comments on commit 5ce339f

Please sign in to comment.