Skip to content

Commit

Permalink
Fixed spectral not checking source controlled file
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushikesh Vyas committed Nov 13, 2023
1 parent 17e4ac7 commit bd2d7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Workleap.OpenApi.MSBuild/ValidateOpenApiTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected override async Task<bool> ExecuteAsync(CancellationToken cancellationT
await installOasdiffTask;

var generateOpenApiDocsPath = (await swaggerManager.RunSwaggerAsync(this.OpenApiSwaggerDocumentNames, cancellationToken)).ToList();
var runSpectralTask = spectralManager.RunSpectralAsync(generateOpenApiDocsPath, this.OpenApiSpectralRulesetUrl, cancellationToken);
var runSpectralTask = spectralManager.RunSpectralAsync(this.OpenApiSpecificationFiles, this.OpenApiSpectralRulesetUrl, cancellationToken);
var runOasdiffTask = oasdiffManager.RunOasdiffAsync(this.OpenApiSpecificationFiles, generateOpenApiDocsPath, cancellationToken);

await runSpectralTask;
Expand Down

0 comments on commit bd2d7d1

Please sign in to comment.