Skip to content

Commit 3cb17b0

Browse files
committed
Improves RunProgramTask log
1 parent ab836cd commit 3cb17b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/FlubuCore/Tasks/Process/RunProgramTask.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,9 @@ protected override int DoExecute(ITaskContextInternal context)
250250
commandArgs = !arg.maskArg ? $"{commandArgs} {arg.arg}" : $"{commandArgs} ####";
251251
}
252252

253-
DoLogInfo($"Running program from '{Path.GetFullPath(workingFolder)}':");
254-
DoLogInfo($"{cmd}{commandArgs}{Environment.NewLine}", Color.DarkCyan);
253+
//// do not change to DoLogInfo as this log is important and it should be always loged.
254+
context.LogInfo($"Running program from '{Path.GetFullPath(workingFolder)}':");
255+
context.LogInfo($"{cmd}{commandArgs}{Environment.NewLine}", Color.DarkCyan);
255256

256257
int res = command.Execute()
257258
.ExitCode;

0 commit comments

Comments
 (0)