unnecessary err var
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ async function lint(directoryPath: string, config?: { strict: boolean }) {
|
||||
let openapiPath = '';
|
||||
try {
|
||||
openapiPath = await getPathToOpenApiSpec(directoryPath);
|
||||
} catch (err) {
|
||||
} catch {
|
||||
return;
|
||||
}
|
||||
const openapiFileContent = await fs.readFile(openapiPath, 'utf8');
|
||||
|
||||
Reference in New Issue
Block a user