Skip to content

Commit

Permalink
Merge pull request #516 from mriehema/fix-515
Browse files Browse the repository at this point in the history
Fix 515 - change yarn warnings in log
  • Loading branch information
eirslett committed Nov 15, 2016
2 parents 5ccbec2 + 4919bc1 commit 22d08be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

## Changelog

### 1.2-SNAPSHOT
### 1.3

* Fix `yarn` for Windows
* Fix #515: Change "yarn warning" from ERROR to WARNING in log

### 1.2

* New goals `yarn` and `install-node-and-yarn` for Yarn support

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ private static LogLevelAgnosticLogger errorLoggerFor(final Logger logger){
return new LogLevelAgnosticLogger() {
@Override
public void log(String value) {
// fix #343
if (value.startsWith("npm WARN ")) {
// fix #343 and #515
if (value.startsWith("npm WARN ") || value.startsWith("warning ")) {
logger.warn(value);
} else {
logger.error(value);
Expand Down

0 comments on commit 22d08be

Please sign in to comment.