Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
chdsbd committed May 11, 2024
1 parent 67b1441 commit 8c40fc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/codeowners-hover-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export class CodeownersHoverProvider implements vscode.HoverProvider {
try {
isDirectory = fs.statSync(myPath).isDirectory()
} catch (e) {
console.error("github-code-owners", e)
// @ts-expect-error we should see this error.
if (e.code !== "ENOENT") {
console.error("github-code-owners", e)
}
}
const x = new vscode.MarkdownString()
x.appendCodeblock(m)
Expand Down

0 comments on commit 8c40fc6

Please sign in to comment.