Remove debugging output
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cb67258ef3
commit
ff468410ad
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user