mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +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)
|
||||
if (version >= 1) {
|
||||
if (version > 1) {
|
||||
return
|
||||
}
|
||||
return Promise.resolve(storage)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user