Skip to content

Commit

Permalink
docs: fixed note for upgrading plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jun 13, 2022
1 parent 2d95a6d commit 5d1ad88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UPGRADING.md
Expand Up @@ -64,7 +64,8 @@ Bree.prototype.init = function () {
this.config.acceptedExtensions.push('.ts');

- oldInit.bind(this)();
+ return oldInit.bind(this)();
+ // note it is not invoked anymore and we now return it
+ return oldInit.bind(this);
};
```

Expand Down

0 comments on commit 5d1ad88

Please sign in to comment.