Skip to content

Commit 09e1de7

Browse files
committed
fix: prevents fastify-compress from trying to work with something it cannot
Sending something other than buffers of strings in the `payload` happens, but this would break the later `Buffer.byteLength(payload)` Signed-off-by: Bart Riepe <[email protected]>
1 parent 331457b commit 09e1de7

File tree

4 files changed

+248
-58
lines changed

4 files changed

+248
-58
lines changed

.zed/settings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Folder-specific settings
2+
//
3+
// For a full list of overridable settings, and general information on folder-specific settings,
4+
// see the documentation: https://zed.dev/docs/configuring-zed#settings-files
5+
{
6+
"formatter": {
7+
"external": {
8+
"command": "eslint",
9+
"arguments": ["--stdin-filepath", "{buffer_path}"]
10+
}
11+
},
12+
"autosave": "off",
13+
"format_on_save": "on"
14+
}

0 commit comments

Comments
 (0)