mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
fixed bad option parsing
This commit is contained in:
parent
edb4f0dc2a
commit
86cbb19a28
6 changed files with 15 additions and 7 deletions
|
@ -210,6 +210,7 @@ var Command = Backbone.Model.extend({
|
|||
|
||||
errorChanged: function() {
|
||||
var err = this.get('error');
|
||||
if (!err) { return; }
|
||||
if (err instanceof CommandProcessError ||
|
||||
err instanceof GitError) {
|
||||
this.set('status', 'error');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue