Skip to content

Commit

Permalink
fix: correctly get branch name from the command line
Browse files Browse the repository at this point in the history
  • Loading branch information
pmiossec committed Jan 30, 2016
1 parent 5f02433 commit 4baa075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ if (process.argv.join('').replace(/\\/g,'/').indexOf('/grunt') === -1) {
options.app_name = program.app_name;
}

if (program.branch_name){
options.branch_name = program.branch_name;
if (program.branch){
options.branch_name = program.branch;
console.log(' - Branch %s', program.branch);
}
if (program.debug){
Expand Down

0 comments on commit 4baa075

Please sign in to comment.