Explorar o código

added mising return

Former-commit-id: b6c631d0d1c25f80363ed1afd16dff7972a2673a
Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
4b8bbf1597
Modificáronse 1 ficheiros con 1 adicións e 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) {