Skip to content

Commit 7f10593

Browse files
more logging
1 parent c64ce0c commit 7f10593

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

engine/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class Run {
4444
this.errors.push(error);
4545
}
4646
}
47-
this.syntaxErrorLogger.deactivate();
4847
}
48+
this.syntaxErrorLogger.deactivate();
4949
} catch (error) {
5050
console.error(error);
5151
this.errors.push(error);

engine/syntax_error_logger.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export class SyntaxErrorLogger {
2626
fs.writeFileSync(path.join(this.outputDir, "syntaxErrors.md"), missingFunctions + "\n", {flag: "a"});
2727
console.log(missingFunctions);
2828
});
29+
this.activated = false;
2930
}
3031
}
3132

@@ -36,6 +37,7 @@ export class SyntaxErrorLogger {
3637
set = this.errorMap.get(environment);
3738
}
3839
this.errorMap.set(environment, this.addToSet(set, missingFunctions));
40+
console.log(this.errorMap);
3941
}
4042
}
4143

0 commit comments

Comments
 (0)