Skip to content

Commit

Permalink
Quote positional args
Browse files Browse the repository at this point in the history
  • Loading branch information
lostintangent committed Mar 28, 2016
1 parent 08531cc commit 2bd942e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tasks/codepush-promote/codepush-promote.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function buildCommand(cmd, positionArgs, optionFlags) {
var command = codePushCommandPrefix + " " + cmd;

positionArgs && positionArgs.forEach(function (positionArg) {
command = command + " " + positionArg;
command = command + " \"" + positionArg + "\"";
});

for (var flag in optionFlags) {
Expand Down
2 changes: 1 addition & 1 deletion Tasks/codepush-release/codepush-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function buildCommand(cmd, positionArgs, optionFlags) {
var command = codePushCommandPrefix + " " + cmd;

positionArgs && positionArgs.forEach(function(positionArg) {
command = command + " " + positionArg;
command = command + " \"" + positionArg + "\"";
});

for (var flag in optionFlags) {
Expand Down

0 comments on commit 2bd942e

Please sign in to comment.