Skip to content

Commit

Permalink
fix: migration
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackGlory committed Oct 13, 2024
1 parent d1933b5 commit 207bb34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/background/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export async function migrate(previousVersion: string): Promise<void> {
, { rules: config?.rules ?? [] }
)
})
, createMigration('^2023.0.3 <=2024.0.0', '2024.1.0', async () => {
, createMigration('>=2023.0.3 <2024.1.0', '2024.1.0', async () => {
enum LocalStorageItemKey {
Config = 'config'
}
Expand Down Expand Up @@ -340,7 +340,6 @@ export async function migrate(previousVersion: string): Promise<void> {
pattern: string
}

// Make sure storage is initialized
const oldStorage = new LocalStorage<IOldLocalStorage>()
const newStorage = new LocalStorage<INewLocalStorage>()

Expand Down

0 comments on commit 207bb34

Please sign in to comment.