Fix not defined 'reject'. (#155)

This commit is contained in:
tsutoringo 2021-02-04 19:11:48 +09:00 committed by GitHub
parent 9614e33b13
commit 163ec6a4a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ export default class BlueMap {
};
async loadSettings() {
return new Promise(resolve => {
return new Promise((resolve, reject) => {
this.fileLoader.load(this.dataRoot + 'settings.json?' + cachePreventionNr(), settings => {
try {
this.settings = JSON.parse(settings);