Skip to content

Commit b7a8b32

Browse files
author
hbkhan
committed
Fix Remote Command Execution
1 parent a9ddbc2 commit b7a8b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports.commit = function (files, message, newVer, tagName, callback) {
6161

6262
function (done) {
6363
cp.exec(
64-
[gitApp, "tag", "-a", tagName, "-m", message].join(" "),
64+
[gitApp, "tag", "-a", escapeQuotes(tagName), "-m", message].join(" "),
6565
gitExtra,
6666
done
6767
);

0 commit comments

Comments
 (0)