mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +00:00
Remove unnecessary conditional logic
In reference to PR feedback.
This commit is contained in:
@@ -31,9 +31,6 @@ function resolveStorageData (storageCache) {
|
|||||||
|
|
||||||
const version = parseInt(storage.version, 10)
|
const version = parseInt(storage.version, 10)
|
||||||
if (version >= 1) {
|
if (version >= 1) {
|
||||||
if (version > 1) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
return Promise.resolve(storage)
|
return Promise.resolve(storage)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user