summaryrefslogtreecommitdiff
path: root/js/console.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/console.ts')
-rw-r--r--js/console.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/console.ts b/js/console.ts
index 48ecc6e7e..2eb5e27c0 100644
--- a/js/console.ts
+++ b/js/console.ts
@@ -112,7 +112,8 @@ export class Console {
// tslint:disable-next-line:no-any
warn(...args: any[]): void {
- this.printFunc(`ERROR: ${stringifyArgs(args)}`);
+ // TODO Log to stderr.
+ this.printFunc(stringifyArgs(args));
}
error = this.warn;