fix build issues

This commit is contained in:
Peli de Halleux
2019-03-04 20:50:15 -08:00
parent a3e431c892
commit f8ef7bb943
2 changed files with 1 additions and 7 deletions

View File

@ -44,7 +44,7 @@ namespace console._screen {
printLog();
}
function log(msg: string): void {
function log(priority: ConsolePriority, msg: string): void {
lines.push(msg);
if (lines.length + 5 > maxLines) {
lines.splice(0, maxLines - lines.length);