Skip to content

Commit

Permalink
fix(extensions): return base extension class instance if no subclass …
Browse files Browse the repository at this point in the history
…is found
  • Loading branch information
acburdine committed Jul 1, 2017
1 parent df049e0 commit af27274
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class Extension {

return new ExtensionSubclass(ui, system, pkg, dir);
}

return new this(ui, system, pkg, dir);
}
}

Expand Down

0 comments on commit af27274

Please sign in to comment.