Skip to content

Commit aa54cb2

Browse files
authored
Remove duplicated version notice (#193)
***NO_CI***
1 parent 721418f commit aa54cb2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

nanoFirmwareFlasher.Tool/Program.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ public static async Task<int> Main(string[] args)
8787
return (int)ExitCodes.OK;
8888
}
8989

90-
#if !VS_CODE_EXTENSION_BUILD
91-
// perform version check
92-
CheckVersion();
93-
Console.WriteLine();
94-
#endif
9590
var parsedArguments = Parser.Default.ParseArguments<Options>(args);
9691

9792
await parsedArguments
@@ -204,9 +199,12 @@ static async Task RunOptionsAndReturnExitCodeAsync(Options o)
204199
Console.WriteLine(_copyrightInfo);
205200
Console.WriteLine();
206201

202+
203+
#if !VS_CODE_EXTENSION_BUILD
207204
// perform version check
208205
CheckVersion();
209206
Console.WriteLine();
207+
#endif
210208

211209
Console.ForegroundColor = ConsoleColor.White;
212210

0 commit comments

Comments
 (0)