Skip to content

Commit aa6203b

Browse files
committed
Remove unneccesary directives
1 parent 0ff5799 commit aa6203b

File tree

3 files changed

+718
-682
lines changed

3 files changed

+718
-682
lines changed

src/Bicep.LocalDeploy.DocGenerator/Program.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,7 @@ private static Command CreateGenerateCommand()
7070
cmd.Add(forceOption);
7171

7272
cmd.SetHandler(
73-
async (
74-
DirectoryInfo source,
75-
DirectoryInfo output,
76-
string[] patterns,
77-
bool verbose,
78-
bool force
79-
) =>
73+
(source, output, patterns, verbose, force) =>
8074
{
8175
GenerationOptions options = new()
8276
{
@@ -87,7 +81,7 @@ bool force
8781
Force = force,
8882
};
8983

90-
await DocumentationGenerator.GenerateAsync(options);
84+
return DocumentationGenerator.GenerateAsync(options);
9185
},
9286
sourceOption,
9387
outputOption,

0 commit comments

Comments
 (0)