Explorar el Código

added mising return

Former-commit-id: b6c631d0d1c25f80363ed1afd16dff7972a2673a
Gildas hace 6 años
padre
commit
4b8bbf1597
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      extension/core/bg/config.js

+ 1 - 1
extension/core/bg/config.js

@@ -149,7 +149,7 @@ singlefile.extension.core.bg.config = (() => {
 	}
 
 	function sortRules(ruleLeft, ruleRight) {
-		ruleRight.url.length - ruleLeft.url.length;
+		return ruleRight.url.length - ruleLeft.url.length;
 	}
 
 	function testRegExpRule(rule) {