mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add eslint:recommended lint rule (#4577)
This commit is contained in:
1 parent
4f75acf2b4
commit
fa3708c879
27 files changed
+88
-57
No files matched your search
@@ -50,7 +50,9 @@ export function createStorage<T>(key: string, defaultValue: T) {
|
||||
|
||||
try {
|
||||
storage.data = await fse.readJson(filePath);
|
||||
} catch {} finally {
|
||||
} catch {
|
||||
// ignore error
|
||||
} finally {
|
||||
if (!isTestEnv) {
|
||||
logger.info(`${logPrefix} loading finished for ${filePath}`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user