Skip to content

Commit

Permalink
Merge pull request emberjs#107 from babel/prevent-error-with-annotation
Browse files Browse the repository at this point in the history
Ensure common local plugin options do not error.
  • Loading branch information
rwjblue authored Jan 5, 2017
2 parents 9355e7a + 6c3640e commit b8f6370
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ function Babel(inputTree, _options) {
Filter.call(this, inputTree, options);

delete options.persist;
delete options.annotation;
delete options.description;

this.console = options.console || console;
delete options.console;
Expand Down

0 comments on commit b8f6370

Please sign in to comment.