File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ private RootCommand()
2121 Subcommands . Add ( DedupeCommand . Create ( ) ) ;
2222 }
2323
24- public ParseResult Parse ( IReadOnlyList < string > args , CancellationToken cancellationToken )
24+ public async Task < ParseResult > Parse ( IReadOnlyList < string > args , CancellationToken cancellationToken )
2525 {
2626 var parseResult = base . Parse ( args , null ) ;
2727
2828 if ( ! parseResult . GetValue ( silentOption ) )
2929 {
30- Console . Out . WriteAsync ( FiggleFonts . Standard . Render ( "funURL" ) . AsMemory ( ) , cancellationToken ) ;
30+ await Console . Out . WriteAsync ( FiggleFonts . Standard . Render ( "funURL" ) . AsMemory ( ) , cancellationToken ) ;
3131 }
3232
3333 return parseResult ;
Original file line number Diff line number Diff line change 1111
1212var rootCommand = RootCommand . Create ( ) ;
1313
14- return await rootCommand . Parse ( args , cancellationToken ) . InvokeAsync ( cancellationToken : cancellationToken ) ;
14+ var parseResult = await rootCommand . Parse ( args , cancellationToken ) ;
15+
16+ return await parseResult . InvokeAsync ( cancellationToken : cancellationToken ) ;
You can’t perform that action at this time.
0 commit comments