fixed bad option parsing

This commit is contained in:
Peter Cottle 2013-07-31 22:30:02 -07:00
parent edb4f0dc2a
commit 86cbb19a28
6 changed files with 15 additions and 7 deletions

View file

@ -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');