Skip to content

Commit

Permalink
Fix branch creating command
Browse files Browse the repository at this point in the history
  • Loading branch information
PabiGamito committed Nov 18, 2018
1 parent 28bbef2 commit dc20c83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions process.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const verbCommandDict = {
},

createbranch: function(name) {
return new Suggestion([`git branch -b ${name}`]);
return new Suggestion([`git -b ${name}`]);
},

switchbranch: function(name) {
Expand Down Expand Up @@ -296,7 +296,7 @@ function createSuggestion(nouns) {
}

if (n.toLowerCase() == "repository") {
suggestions.push(verbCommandDict.initrepo(nouns[i + 1]))
suggestions.push(verbCommandDict.initrepo(nouns[i + 1]));
}
}

Expand Down

0 comments on commit dc20c83

Please sign in to comment.