mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 17:00:04 +02:00
gah was forgetting origin assert
This commit is contained in:
parent
1e5181689d
commit
55d563a9bc
5 changed files with 86 additions and 19 deletions
|
@ -140,11 +140,8 @@ var Command = Backbone.Model.extend({
|
|||
}
|
||||
},
|
||||
|
||||
twoArgsImpliedOrigin: function(args) {
|
||||
twoArgsForOrigin: function(args) {
|
||||
this.validateArgBounds(args, 0, 2);
|
||||
if (args.length < 2) {
|
||||
args.unshift('origin');
|
||||
}
|
||||
},
|
||||
|
||||
// this is a little utility class to help arg validation that happens over and over again
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue