File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,6 @@ public static async Task<int> Main(string[] args)
5454 // check for empty argument collection
5555 if ( ! args . Any ( ) )
5656 {
57- #if ! VS_CODE_EXTENSION_BUILD
58- // perform version check
59- CheckVersion ( ) ;
60- Console . WriteLine ( ) ;
61- #endif
62-
6357 // no argument provided, show help text and usage examples
6458
6559 // because of short-comings in CommandLine parsing
@@ -84,9 +78,20 @@ public static async Task<int> Main(string[] args)
8478
8579 Console . WriteLine ( helpText . ToString ( ) ) ;
8680
81+ #if ! VS_CODE_EXTENSION_BUILD
82+ // perform version check
83+ CheckVersion ( ) ;
84+ Console . WriteLine ( ) ;
85+ #endif
86+
8787 return ( int ) ExitCodes . OK ;
8888 }
8989
90+ #if ! VS_CODE_EXTENSION_BUILD
91+ // perform version check
92+ CheckVersion ( ) ;
93+ Console . WriteLine ( ) ;
94+ #endif
9095 var parsedArguments = Parser . Default . ParseArguments < Options > ( args ) ;
9196
9297 await parsedArguments
You can’t perform that action at this time.
0 commit comments