Skip to content

Commit 52ba2dc

Browse files
committed
remove: migration scripts
1 parent 926b9fb commit 52ba2dc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

config/store.ts

-10
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ const setDefaultPluginOptions = (store: Conf<Record<string, unknown>>, plugin: k
1010
};
1111

1212
const migrations = {
13-
'>=2.0.3'(store: Conf<Record<string, unknown>>) {
14-
if (store.get('plugins.discord.hideGitHubButton') === undefined) {
15-
store.set('plugins.discord.hideGitHubButton', false);
16-
}
17-
},
18-
'>=2.0.0'(store: Conf<Record<string, unknown>>) {
19-
if (store.get('plugins.disable-autoplay.applyOnce') === undefined) {
20-
store.set('plugins.disable-autoplay.applyOnce', false);
21-
}
22-
},
2313
'>=1.20.0'(store: Conf<Record<string, unknown>>) {
2414
setDefaultPluginOptions(store, 'visualizer');
2515

0 commit comments

Comments
 (0)