dotnet pack returns the wrong exit code

This commit is contained in:
Victor Hurdugaci 2015-11-30 12:46:52 -08:00
parent 7d5a901532
commit 7843f3ea91

View file

@ -51,7 +51,7 @@ namespace Microsoft.DotNet.Tools.Compiler
var configValue = configuration.Value() ?? Cli.Utils.Constants.DefaultConfiguration;
var outputValue = output.Value();
return BuildPackage(path, configValue, outputValue, intermediateOutput.Value()) ? 1 : 0;
return BuildPackage(path, configValue, outputValue, intermediateOutput.Value()) ? 0 : 1;
});
try