From b01a59af904c6533d5877119f8b1fba601541f65 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Mon, 7 Aug 2023 13:48:50 -0300 Subject: [PATCH] fmt --- plugins/updater/guest-js/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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), ); }