unnecessary err var

Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
This commit is contained in:
Aramis Sennyey
2024-04-04 18:13:41 -04:00
parent 2bd291e605
commit f432d472d8
@@ -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');