Skip to content

Commit

Permalink
fix: --output incorrectly applied to metadata output (#8726)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih authored May 4, 2023
1 parent 6d80b63 commit 1c89aed
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 1c89aed

Please sign in to comment.