diff options
Diffstat (limited to 'docs/guides/read-file/exists.md')
-rw-r--r-- | docs/guides/read-file/exists.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guides/read-file/exists.md b/docs/guides/read-file/exists.md index fd6cbbf9a..0359f5728 100644 --- a/docs/guides/read-file/exists.md +++ b/docs/guides/read-file/exists.md @@ -8,7 +8,7 @@ The `Bun.file()` function accepts a path and returns a `BunFile` instance. Use t const path = "/path/to/package.json"; const file = Bun.file(path); -file.exists(); // boolean; +await file.exists(); // boolean; ``` --- |