Skip to content

Commit cb52e9c

Browse files
committed
Fixed typo in version checked on noscript capability update.
1 parent 816e6cb commit cb52e9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bg/LifeCycle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ var LifeCycle = (() => {
241241
ns.policy.TRUSTED.capabilities.add("ping");
242242
await ns.savePolicy();
243243
}
244-
if (Ver.is(previousVersion, "<", "11.2.rc4")) {
244+
if (Ver.is(previousVersion, "<=", "11.2.1")) {
245245
log(`Upgrading from ${previousVersion}: configure the "noscript" capability.`);
246246
await ns.initializing;
247247
let {DEFAULT, TRUSTED, UNTRUSTED} = ns.policy;

0 commit comments

Comments
 (0)