lint compliance

This commit is contained in:
yflory 2021-03-02 18:22:00 +01:00
parent 8cc0f75f49
commit 88c9589c49

View file

@ -2848,9 +2848,9 @@ define([
if (store.ready) { return; } // the store is already ready, it is a reconnection
store.driveMetadata = info.metadata;
if (!rt.proxy.drive || typeof(rt.proxy.drive) !== 'object') { rt.proxy.drive = {}; }
var drive = rt.proxy.drive;
/*
// XXX deprecating localStorage migration
var drive = rt.proxy.drive;
// Creating a new anon drive: import anon pads from localStorage
if ((!drive[Constants.oldStorageKey] || !Array.isArray(drive[Constants.oldStorageKey]))
&& !drive['filesData']) {