aboutsummaryrefslogtreecommitdiff
path: root/docs/guides/read-file/exists.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guides/read-file/exists.md')
-rw-r--r--docs/guides/read-file/exists.md2
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;
```
---