We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b60fe2 commit 6ba2346Copy full SHA for 6ba2346
src/telemetry/telemetry.ts
@@ -11,7 +11,7 @@ import fs from "fs/promises";
11
12
async function fileExists(filePath: string): Promise<boolean> {
13
try {
14
- await fs.stat(filePath);
+ await fs.access(filePath, fs.constants.F_OK);
15
return true; // File exists
16
} catch (e: unknown) {
17
if (
0 commit comments