From e693e8ce0d6ecb200e9a232838b11fb52c2a4a52 Mon Sep 17 00:00:00 2001 From: AayushSaini101 Date: Wed, 20 Nov 2024 10:58:57 +0530 Subject: [PATCH] Fix sonar issues --- src/commands/pretty.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/commands/pretty.ts b/src/commands/pretty.ts index 5954f076168..35440fd6ff2 100644 --- a/src/commands/pretty.ts +++ b/src/commands/pretty.ts @@ -2,12 +2,10 @@ import { Args } from '@oclif/core'; import { promises as fs } from 'fs'; import * as yaml from 'yaml'; import Command from '../core/base'; -import { load } from '../core/models/SpecificationFile'; +import { load , retrieveFileFormat} from '../core/models/SpecificationFile'; import { ValidationError } from '../core/errors/validation-error'; import { prettyFlags } from '../core/flags/pretty.flags'; -import { - retrieveFileFormat, -} from '../core/models/SpecificationFile'; + export default class Pretty extends Command { static readonly description = 'Format AsyncAPI specification file';