Skip to content

Commit 4657725

Browse files
committed
Fix
1 parent 19b052b commit 4657725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/updater.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const checkForUpdates = async () => {
3636
}
3737

3838
if (!isMainThread) {
39-
const response = fetch(`https://api.github.com/repos/${repository}/releases/latest`).then(async response => {
39+
fetch(`https://api.github.com/repos/${repository}/releases/latest`).then(async response => {
4040
if (response && response.ok) {
4141
const json = await response.json()
4242
const dir = join(getDirectory(), 'updates')

0 commit comments

Comments
 (0)