Skip to content

Commit 8f151d5

Browse files
committed
(log) log actual file ran instead of string[]
1 parent 4b6148a commit 8f151d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chocolatey/infrastructure.app/services/PowershellService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Skip is an advanced option and most likely will never be wanted.
236236
Environment.ExitCode = exitCode;
237237
packageResult.Messages.Add(new ResultMessage(ResultType.Error, "Error while running '{0}'.{1} See log for details.".format_with(powershellScript.FirstOrDefault(), Environment.NewLine)));
238238
}
239-
packageResult.Messages.Add(new ResultMessage(ResultType.Note, "Ran '{0}'".format_with(powershellScript)));
239+
packageResult.Messages.Add(new ResultMessage(ResultType.Note, "Ran '{0}'".format_with(chocoPowerShellScript)));
240240
}
241241
}
242242

0 commit comments

Comments
 (0)