From c98e511152e70841039855c3ffc27019572800f0 Mon Sep 17 00:00:00 2001 From: Bowen Ni Date: Wed, 20 Jun 2018 15:56:01 -0700 Subject: [PATCH] Default logger.error should log to stderr. --- src/tslint-cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tslint-cli.ts b/src/tslint-cli.ts index 9871e6f8588..ac68ef83727 100644 --- a/src/tslint-cli.ts +++ b/src/tslint-cli.ts @@ -271,7 +271,7 @@ run( outputStream.write(m); }, error(m) { - process.stdout.write(m); + process.stderr.write(m); }, }) .then((rc) => {