enhance
This commit is contained in:
parent
f43706a360
commit
722aeff149
2 changed files with 3 additions and 1 deletions
|
|
@ -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}`);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue