Skip to content

Commit

Permalink
Ensure exit code set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartleeks committed Jan 21, 2019
1 parent 8930645 commit 4fcf178
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public override async Task RunAsync()
if (workerRuntime != WorkerRuntime.dotnet)
{
ColoredConsole.WriteLine(ErrorColor($"create-durable-helpers does not support runtime: {workerRuntime}"));
return;

Environment.Exit(ExitCodes.GeneralError);
}

var csproj = DotnetHelpers.GetCsproj();
Expand Down

0 comments on commit 4fcf178

Please sign in to comment.