Skip to content

Commit

Permalink
fix: --output incorrectly applied to metadata output (dotnet#8726)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih authored and p-kostov committed Jun 28, 2024
1 parent 678e272 commit 1ecb940
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/docfx/Models/DefaultCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ public override int Execute(CommandContext context, Options options)
string serveDirectory = null;

if (config.Metadata is not null)
DotnetApiCatalog.Exec(config.Metadata, new(), baseDirectory, outputFolder).GetAwaiter().GetResult();
{
DotnetApiCatalog.Exec(config.Metadata, new(), baseDirectory).GetAwaiter().GetResult();
}

if (config.Build is not null)
{
Expand Down

0 comments on commit 1ecb940

Please sign in to comment.