diff --git a/src/Nox.Cli.Plugins/Nox.Cli.Plugin.Powershell/PowershellScript_v1.cs b/src/Nox.Cli.Plugins/Nox.Cli.Plugin.Powershell/PowershellScript_v1.cs index 51c55d0..96a262d 100755 --- a/src/Nox.Cli.Plugins/Nox.Cli.Plugin.Powershell/PowershellScript_v1.cs +++ b/src/Nox.Cli.Plugins/Nox.Cli.Plugin.Powershell/PowershellScript_v1.cs @@ -75,7 +75,7 @@ public Task> 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))) diff --git a/src/Nox.Cli/Properties/launchSettings.json b/src/Nox.Cli/Properties/launchSettings.json index 2fa440c..6a01085 100755 --- a/src/Nox.Cli/Properties/launchSettings.json +++ b/src/Nox.Cli/Properties/launchSettings.json @@ -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" }