Skip to content

Commit

Permalink
Fixed typo in version checked on noscript capability update.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackademix committed Feb 16, 2021
1 parent 816e6cb commit cb52e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bg/LifeCycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ var LifeCycle = (() => {
ns.policy.TRUSTED.capabilities.add("ping");
await ns.savePolicy();
}
if (Ver.is(previousVersion, "<", "11.2.rc4")) {
if (Ver.is(previousVersion, "<=", "11.2.1")) {
log(`Upgrading from ${previousVersion}: configure the "noscript" capability.`);
await ns.initializing;
let {DEFAULT, TRUSTED, UNTRUSTED} = ns.policy;
Expand Down

0 comments on commit cb52e9c

Please sign in to comment.