Skip to content

Commit

Permalink
Added getDescription redundancy check. 2nd
Browse files Browse the repository at this point in the history
  • Loading branch information
houmain committed May 23, 2023
1 parent 98b7bdb commit d4298e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DocumentValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ export class DocumentValidator {
);
this.diagnostics = parseErrorOutput(this.document, result.stderr);
if (result.stdout.length > 0) {
this.config = result.stdout;
return updateDocument(this.document, this.config);
return updateDocument(this.document, result.stdout);
}
}

Expand Down

0 comments on commit d4298e2

Please sign in to comment.