Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSaini101 committed Nov 20, 2024
1 parent ba2ce95 commit 2febe15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/pretty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class Pretty extends Command {

try {
const fileFormat = retrieveFileFormat(this.specFile.text());
if (fileFormat === 'yaml' || fileFormat == 'yml') {
if (fileFormat === 'yaml' || fileFormat === 'yml') {
const yamlDoc = yaml.parseDocument(content);
formatted = yamlDoc.toString({
lineWidth: 0,
Expand Down

0 comments on commit 2febe15

Please sign in to comment.