Skip to content

Commit

Permalink
Merge pull request #242 from NoxOrg/bugfix/powershell-error-message-c…
Browse files Browse the repository at this point in the history
…oncat

- fixed powershell error messages
  • Loading branch information
jan-schutte committed Jun 3, 2024
2 parents 3805df5 + bde0904 commit ede6f7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public Task<IDictionary<string, object>> ProcessAsync(INoxWorkflowContext ctx)
var errorMessage = "";
foreach (var err in _pwsh.Streams.Error)
{
errorMessage += err.ErrorDetails.Message + Environment.NewLine;
errorMessage += err + Environment.NewLine;
}
ctx.SetErrorMessage(errorMessage);
} else if (results.Any(r => (r.ToString() ?? "").Contains("error", StringComparison.OrdinalIgnoreCase)))
Expand Down
4 changes: 2 additions & 2 deletions src/Nox.Cli/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"profiles": {
"Nox.Cli": {
"commandName": "Project",
"commandLineArgs": "sync chart --offline",
"workingDirectory": "/home/jan/Projects/IWG/Fno.MultiDeploy/src/Ingena.Fno.MultiDeploy.Api",
"commandLineArgs": "sync vc --offline",
"workingDirectory": "/home/jan/Projects/IWG/Fno.MultiDeploy",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand Down

0 comments on commit ede6f7e

Please sign in to comment.