Skip to content

Commit 21a2c41

Browse files
author
nickpape-msft
committed
Tiny fixes
1 parent f77f45e commit 21a2c41

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.build.log
33
.DS_Store
44
/common/last-install.log
5+
/common/npm-local
56
/common/local-npm
67
/common/npmx-link.json
78
coverage
@@ -10,4 +11,4 @@ lib
1011
lib-amd
1112
node_modules
1213
npm*.log
13-
temp
14+
temp

gulp-core-build/src/logging.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ function writeSummary(callback: () => void): void {
234234
}
235235

236236
if (getWarnings().length) {
237-
log('Task warnings:', gutil.colors.yellow(getWarnings().length + '\r\n' + getWarnings().join('\r\n')));
237+
log('Task warnings:', gutil.colors.yellow(getWarnings().length.toString()));
238238
}
239239

240240
let totalErrors: number = 0;
@@ -443,7 +443,7 @@ export function warn(...args: Array<string | Chalk.ChalkChain>): void {
443443
const stringMessage: string = args.join(' ');
444444

445445
if (!localCache.errorAndWarningSupressions[stringMessage]) {
446-
localCache.errors.push(stringMessage);
446+
localCache.warnings.push(stringMessage);
447447
log(gutil.colors.yellow.apply(undefined, args));
448448
}
449449
}

0 commit comments

Comments
 (0)