mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
index: simplify plugin subscription
This commit is contained in:
parent
343f3396e0
commit
0f17741162
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -168,7 +168,7 @@ app.on('ready', () => {
|
|||
// load plugins
|
||||
load();
|
||||
|
||||
const pluginsUnsubscribe = plugins.subscribe((err, { force }) => {
|
||||
const pluginsUnsubscribe = plugins.subscribe((err) => {
|
||||
if (!err) {
|
||||
load();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue