Skip to content

Commit b7e2fc8

Browse files
authored
Remove duplicate code
1 parent 3637513 commit b7e2fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
var verbose = ctx.ParseResult.HasOption(GlobalOptions.Verbose);
6666
var writer = new ConsoleWriter(ctx.Console, consoleFormatProvider, verbose);
6767

68-
if (ctx.ParseResult.HasOption(GlobalOptions.Verbose))
68+
if (verbose)
6969
{
7070
writer.Error(ex.ToString());
7171
}

0 commit comments

Comments
 (0)