mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Add another key to config diff whitelist
This commit is contained in:
committed by
GitHub
parent
bf8003891c
commit
8c185d4b5e
@@ -10,7 +10,7 @@ function partialDeepEquals (actual, expected, logger) {
|
||||
// loop over key, value of expected
|
||||
let failed = false;
|
||||
for (const [ key, value ] of Object.entries(expected)) {
|
||||
if (key === "serverAddress" || key === "testingServerAddress" || key === "serverAddressComment") continue
|
||||
if (key === "serverAddress" || key === "testingServerAddress" || key === "serverAddressComment" || key === "freeChapterAccess") continue
|
||||
// if value is object, recurse
|
||||
const actualValue = actual?.[key]
|
||||
if (typeof value !== "string" && Array.isArray(value)) {
|
||||
@@ -63,4 +63,4 @@ class configDiffPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = configDiffPlugin;
|
||||
module.exports = configDiffPlugin;
|
||||
|
||||
Reference in New Issue
Block a user