Update plugins/updater/guest-js/index.ts

pull/431/head
Lucas Fernandes Nogueira 2 years ago committed by GitHub
parent aa25f85c4d
commit 497bb5ce5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -61,7 +61,7 @@ class Update {
}
}
/** Check for updates, returns `null` if no updates are available */
/** Check for updates, resolves to `null` if no updates are available */
async function check(options?: CheckOptions): Promise<Update | null> {
return invoke<UpdateMetadata>("plugin:updater|check", { ...options }).then(
(meta) => (meta.available ? new Update(meta) : null)

Loading…
Cancel
Save