diff --git a/plugins/updater/guest-js/index.ts b/plugins/updater/guest-js/index.ts index d1abefd4..95272c83 100644 --- a/plugins/updater/guest-js/index.ts +++ b/plugins/updater/guest-js/index.ts @@ -64,11 +64,11 @@ class Update { /** Check for updates, resolves to `null` if no updates are available */ async function check(options?: CheckOptions): Promise { if (options?.headers) { - options.headers = Array.from(new Headers(options.headers).entries()) + options.headers = Array.from(new Headers(options.headers).entries()); } return invoke("plugin:updater|check", { ...options }).then( - (meta) => (meta.available ? new Update(meta) : null) + (meta) => (meta.available ? new Update(meta) : null), ); }