Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 509dda4

Browse files
committed
style: Remove redundant on a non-promise
1 parent 2b52183 commit 509dda4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2424
- chore(deps): Update dependencies
2525
- test(e2e): Move utils to a support folder
2626
- feat: Add/remove routers on start/stop plugin methods, not in init method.
27+
- style: Remove redundant `await` on a non-promise
2728

2829
## [1.4.7] - 2020-12-21
2930

src/Plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ class Plugin {
6767
return packageInfo.name;
6868
}
6969

70-
async init() {
71-
await this._deprecatedApi.init();
70+
init() {
71+
this._deprecatedApi.init();
7272
this._initRouter();
7373
}
7474

0 commit comments

Comments
 (0)