Merge branch 'develop'
This commit is contained in:
commit
0418e75ece
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ export const BrowserSyncStorageImpl = BrowserSyncStorageExtern.impl({
|
||||||
name: STORAGE_NAME,
|
name: STORAGE_NAME,
|
||||||
get: async (key) => {
|
get: async (key) => {
|
||||||
const value: any = await browserSyncStorage.getItem(key)
|
const value: any = await browserSyncStorage.getItem(key)
|
||||||
|
// Compatibility with old version data
|
||||||
try {
|
try {
|
||||||
return JSONR.parse(value)
|
return JSONR.parse(value)
|
||||||
} catch {
|
} catch {
|
||||||
|
|
Loading…
Reference in a new issue