1
0
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:
Sam Herrington
2018-09-30 17:46:38 -05:00
committed by GitHub
parent dd913279d7
commit ca69bd69f2

View File

@@ -31,9 +31,6 @@ function resolveStorageData (storageCache) {
const version = parseInt(storage.version, 10)
if (version >= 1) {
if (version > 1) {
return
}
return Promise.resolve(storage)
}