Skip to content

Commit

Permalink
Use defined variable to get API information file
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy Fankam committed Jul 29, 2024
1 parent b777743 commit bf5cc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/code/extractor/Api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private static WriteApiInformationFile GetWriteApiInformationFile(IServiceProvid

return async (name, dto, cancellationToken) =>
{
var informationFile = ApiInformationFile.From(name, provider.GetRequiredService<ManagementServiceDirectory>());
var informationFile = ApiInformationFile.From(name, serviceDirectory);

logger.LogInformation("Writing API information file {ApiInformationFile}...", informationFile);
await informationFile.WriteDto(dto, cancellationToken);
Expand Down

0 comments on commit bf5cc12

Please sign in to comment.