Skip to content

Commit

Permalink
no need to print the args now
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Apr 19, 2024
1 parent 243cb0f commit 7018189
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OpenZiti.NET.Samples/src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ private static async Task Main(string[] args) {
}

if ( args[0].Contains(AppDomain.CurrentDomain.FriendlyName )) {
Console.WriteLine("args[0] contains the AppDomain.CurrentDomain.FriendlyName, must be using dotnet run: ");
Array.ForEach(args, Console.WriteLine);
Console.WriteLine("args[0] contains the AppDomain.CurrentDomain.FriendlyName, must be using dotnet run.");
args = args.Skip(1).ToArray();
} else {
Console.WriteLine(AppDomain.CurrentDomain.FriendlyName);
Expand Down

0 comments on commit 7018189

Please sign in to comment.