diff options
author | Ajay Ramachandran <[email protected]> | 2022-12-04 15:06:16 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2022-12-04 15:06:16 -0500 |
commit | 8c185d4b5e90add76abab31473e068bd35d66c76 (patch) | |
tree | 05645f308665d2233b3891b6bb25ffb23bb54a26 /webpack | |
parent | bf8003891c404365a34108e22004cea3be54268e (diff) | |
download | SponsorBlock-8c185d4b5e90add76abab31473e068bd35d66c76.tar.gz SponsorBlock-8c185d4b5e90add76abab31473e068bd35d66c76.zip |
Add another key to config diff whitelist
Diffstat (limited to 'webpack')
-rw-r--r-- | webpack/configDiffPlugin.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webpack/configDiffPlugin.js b/webpack/configDiffPlugin.js index 43456e87..ce5e5c5a 100644 --- a/webpack/configDiffPlugin.js +++ b/webpack/configDiffPlugin.js @@ -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;
\ No newline at end of file +module.exports = configDiffPlugin; |