Update app.js

as per f0fef28fca (r117262688)
pull/2805/head
Gordon Williams 2023-06-09 14:55:11 +01:00 committed by GitHub
parent ff5c235fc4
commit de3fbe6578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ let location;
// requires the myLocation app
function loadLocation () {
try {
return require('Storage').readJSON(LOCATION_FILE, 1) || {};
return require('Storage').readJSON(LOCATION_FILE, 1);
} catch (e) {
return { };
}