Skip to content

Commit

Permalink
Alter default entry points to return AutoRun exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Maddock authored and Christopher Maddock committed Feb 3, 2016
1 parent 5763465 commit ac19ddd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions nuget/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public class Program
/// </summary>
/// <remarks>Run with --help for a full list of arguments supported</remarks>
/// <param name="args"></param>
public static void Main(string[] args)
public static int Main(string[] args)
{
new AutoRun().Execute(args);
return new AutoRun().Execute(args);
}
}
}
6 changes: 3 additions & 3 deletions nuget/Program.vb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Public Class Program
''' various locations, depending on the arguments passed.
''' </summary>
''' <remarks>Run with --help for a full list of arguments supported</remarks>
Public Shared Sub Main(ByVal args() As String)
Call New AutoRun().Execute(args)
End Sub
Public Shared Function Main(ByVal args() As String) As Integer
Return New AutoRun().Execute(args)
End Function

End Class

0 comments on commit ac19ddd

Please sign in to comment.