Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
[bugfix] ruleset tests: check for * targets correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
pde committed Aug 26, 2014
1 parent 8a2eb6c commit 656f441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chrome/content/ruleset-tests.js
Expand Up @@ -37,7 +37,7 @@ function testRunner() {

for(var target in HTTPSEverywhere.https_rules.targets) {
var active_ids = [];
if(!target.indexOf("*") != -1) {
if(target.indexOf("*") == -1) {
HTTPSEverywhere.log(5, "target is " + target);
var ruleset_ids = HTTPSEverywhere.https_rules.targets[target];
for (var n = 0; n < ruleset_ids.length; n++) {
Expand Down

0 comments on commit 656f441

Please sign in to comment.