diff options
| author | Aiden Cline <[email protected]> | 2026-02-11 13:23:00 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-11 13:23:00 -0600 |
| commit | 6b4d617df080cef71cd8f4b041601cf47ce0edf3 (patch) | |
| tree | e9caa0465ba19f2c499b60b7c383025ddff36dd7 /.opencode | |
| parent | e3471526f4c71b2c4ee00117e125e179da01e6e2 (diff) | |
| download | opencode-6b4d617df080cef71cd8f4b041601cf47ce0edf3.tar.gz opencode-6b4d617df080cef71cd8f4b041601cf47ce0edf3.zip | |
feat: adjust read tool so that it can handle dirs too (#13090)
Diffstat (limited to '.opencode')
| -rw-r--r-- | .opencode/skill/bun-file-io/SKILL.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.opencode/skill/bun-file-io/SKILL.md b/.opencode/skill/bun-file-io/SKILL.md index ea39507d2..f78de3309 100644 --- a/.opencode/skill/bun-file-io/SKILL.md +++ b/.opencode/skill/bun-file-io/SKILL.md @@ -32,6 +32,9 @@ description: Use this when you are working on file operations like reading, writ - Decode tool stderr with `Bun.readableStreamToText`. - For large writes, use `Bun.write(Bun.file(path), text)`. +NOTE: Bun.file(...).exists() will return `false` if the value is a directory. +Use Filesystem.exists(...) instead if path can be file or directory + ## Quick checklist - Use Bun APIs first. |
