diff options
| author | Adam <[email protected]> | 2025-12-19 15:15:43 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-20 04:25:17 -0600 |
| commit | a9700c8773cb3475abfb7b32474d250cd7be010c (patch) | |
| tree | 6b845dafde74cdc6c79929468dbc62ca1efd3fa6 | |
| parent | 26cf5e003ebd402b3343504dd6726a4c8cc9ffe3 (diff) | |
| download | opencode-a9700c8773cb3475abfb7b32474d250cd7be010c.tar.gz opencode-a9700c8773cb3475abfb7b32474d250cd7be010c.zip | |
fix: shouldEncode
| -rw-r--r-- | packages/opencode/src/file/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/file/index.ts b/packages/opencode/src/file/index.ts index 821a7365f..148ab45cb 100644 --- a/packages/opencode/src/file/index.ts +++ b/packages/opencode/src/file/index.ts @@ -73,6 +73,7 @@ export namespace File { async function shouldEncode(file: BunFile): Promise<boolean> { const type = file.type?.toLowerCase() + log.info("shouldEncode", { type }) if (!type) return false if (type.startsWith("text/")) return false @@ -92,7 +93,6 @@ export namespace File { "bzip", "compressed", "binary", - "stream", "pdf", "msword", "powerpoint", |
