diff --git a/libs/remix-lib/src/storage.ts b/libs/remix-lib/src/storage.ts index beb44fcf5b..e00a33e32c 100644 --- a/libs/remix-lib/src/storage.ts +++ b/libs/remix-lib/src/storage.ts @@ -73,8 +73,8 @@ export class Storage { keys () { return this.safeKeys() // filter any names not including the prefix - .filter(function (item) { return item.indexOf(this.prefix, 0) === 0 }) + .filter(item => item.indexOf(this.prefix, 0) === 0) // remove prefix from filename and add the 'browser' path - .map(function (item) { return item.substr(this.prefix.length) }) + .map(item => item.substr(this.prefix.length)) } }