aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael C <[email protected]>2021-12-04 23:16:26 -0500
committerMichael C <[email protected]>2021-12-04 23:16:26 -0500
commite16aae393fc73be147d863247a40a8f0f8a4e0e2 (patch)
treef6a59579db3a0bff84023ac3fb5430c9cf6d3258
parent33098ac6596dc7cd6b3eb31cf0df6e7f88d7f883 (diff)
downloadSponsorBlock-e16aae393fc73be147d863247a40a8f0f8a4e0e2.tar.gz
SponsorBlock-e16aae393fc73be147d863247a40a8f0f8a4e0e2.zip
also check against length
-rw-r--r--src/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.ts b/src/config.ts
index 5cc3ee0b..f1e80057 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -435,7 +435,7 @@ function migrateOldFormats(config: SBConfig) {
}
// populate invidiousInstances with new instances if 3p support is **DISABLED**
- if (!config["supportInvidious"]) {
+ if (!config["supportInvidious"] && config["invidiousInstances"].length !== invidiousList.length) {
config["invidiousInstances"] = invidiousList
}
}