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 1a16f12 commit 3d14372Copy full SHA for 3d14372
1 file changed
packages/vite/src/node/utils.ts
@@ -485,7 +485,7 @@ export function writeFile(
485
}
486
487
/**
488
- * Use instead of fs.existsSync(filename)
+ * Use fs.statSync(filename) instead of fs.existsSync(filename)
489
* #2051 if we don't have read permission on a directory, existsSync() still
490
* works and will result in massively slow subsequent checks (which are
491
* unnecessary in the first place)
0 commit comments