Remove debugging output
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Fabian Stamm 2020-10-28 01:18:15 +01:00
parent cb67258ef3
commit ff468410ad
2 changed files with 0 additions and 4 deletions

View File

@ -191,7 +191,6 @@ class Match {
}
} else {
for (const rule of this.#rules) {
console.log(rule.operation, operation);
if (rule.operation === operation) {
if (rule.test(localVars)) return true;
}
@ -283,8 +282,6 @@ export function getRuleRunner(service: ServiceStatement) {
const submatches = s_match.matches.map((sub) => createMatch(sub));
const match = new Match(segments, rules, wildcard, submatches);
console.log("Adding match", segments, rules, wildcard, submatches);
return match;
};

View File

@ -9,7 +9,6 @@ export default function compileRule(rule: string) {
let error: RuleError | undefined;
try {
const tokenised = tokenize(rule);
// console.log(tokenised);
const parsed = parse(tokenised);
const dbservice = parsed.find((e) => e.name === "realtimedb");