From c1bd48b58de773967ca01b60407e6dc6ef10f9fa Mon Sep 17 00:00:00 2001 From: Robert Muehsig Date: Thu, 27 Sep 2018 22:48:54 +0200 Subject: [PATCH] adding the resultcode to the output --- ElectronNET.CLI/Commands/BuildCommand.cs | 2 +- ElectronNET.CLI/Commands/StartElectronCommand.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ElectronNET.CLI/Commands/BuildCommand.cs b/ElectronNET.CLI/Commands/BuildCommand.cs index c7d8eae..f44bc5e 100644 --- a/ElectronNET.CLI/Commands/BuildCommand.cs +++ b/ElectronNET.CLI/Commands/BuildCommand.cs @@ -78,7 +78,7 @@ namespace ElectronNET.CLI.Commands if (resultCode != 0) { - Console.WriteLine("Error occurred during dotnet publish."); + Console.WriteLine("Error occurred during dotnet publish: " + resultCode); return false; } diff --git a/ElectronNET.CLI/Commands/StartElectronCommand.cs b/ElectronNET.CLI/Commands/StartElectronCommand.cs index 48e0fba..51dfb18 100644 --- a/ElectronNET.CLI/Commands/StartElectronCommand.cs +++ b/ElectronNET.CLI/Commands/StartElectronCommand.cs @@ -55,7 +55,7 @@ namespace ElectronNET.CLI.Commands if (resultCode != 0) { - Console.WriteLine("Error occurred during dotnet publish."); + Console.WriteLine("Error occurred during dotnet publish: " + resultCode); return false; }