From 9d62f6d1824d0d740857bf3c767dccfa457e8740 Mon Sep 17 00:00:00 2001 From: Nick Pape nickpape Date: Fri, 28 Oct 2016 15:42:33 -0700 Subject: [PATCH] Always log warnings in yellow --- gulp-core-build/src/logging.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gulp-core-build/src/logging.ts b/gulp-core-build/src/logging.ts index aa59ff20dc4..e05ecfa686a 100644 --- a/gulp-core-build/src/logging.ts +++ b/gulp-core-build/src/logging.ts @@ -192,11 +192,7 @@ function writeSummary(callback: () => void): void { if (shouldRelogIssues && getWarnings().length) { const warnings: string[] = getWarnings(); for (let x: number = 0; x < warnings.length; x++) { - if (getConfig().shouldWarningsFailBuild) { - console.error(gutil.colors.yellow(warnings[x])); - } else { - console.log(gutil.colors.yellow(warnings[x])); - } + console.error(gutil.colors.yellow(warnings[x])); } }