This commit is contained in:
peaceiris
2019-09-16 05:42:48 +09:00
parent f43706a360
commit 722aeff149
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,8 @@ function getLatestVersion() {
const latestVersion = latestURL.match(/(\d+).(\d+).(\d+)/g)[0];
resolve(latestVersion);
} else if (xhr.status !== 200) {
reject(`ERROR: got status ${xhr.status}`);
}
};
});