Skip to content

Commit

Permalink
fix(tools): warning logging in NpmTasks (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 authored and matkoch committed Nov 19, 2023
1 parent 572097c commit 9765231
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/Nuke.Common/Tools/Npm/NpmTasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public static void CustomLogger(OutputType type, string output)
{
if (output.StartsWith("npmWARN") || output.StartsWith("npm WARN"))
Log.Warning(output);
else if(output.StartsWith("npm notice"))
Log.Debug(output);
else
Log.Error(output);

Expand Down

0 comments on commit 9765231

Please sign in to comment.