mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-08 08:04:25 -10:00
chore(attributes): keep the extension host's generated TS and bundle LF
typescript_protocol_is_generated_from_the_rust_types failed on hosted
Windows (wave ce1ecc8dc) with an end-of-file-only drift: the committed
protocol.generated.ts is byte-compared with the generator's LF output, and
autocrlf turned it CRLF. The dist bundle is include_bytes!()'d and
digest-checked at launch, so a CRLF checkout would also embed different
bytes. Both are pinned eol=lf, the repo's existing convention.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: CodeWhale Bot <[email protected]>
This commit is contained in:
1 parent
77aa6ea037
commit
69aa57e6d4
1 file changed
+7
@@ -54,6 +54,13 @@ crates/tui/src/integrations/dsh/*.js text eol=lf
|
||||
# so a CRLF checkout changed the expected digest on Windows.
|
||||
scripts/fixtures/dsh-web-app/** text eol=lf
|
||||
|
||||
# The extension host's generated protocol TS is compared byte for byte with
|
||||
# the generator's LF output (protocol/tests.rs), and its dist bundle is
|
||||
# include_bytes!()'d and digest-checked at launch; a CRLF Windows checkout
|
||||
# failed the former and would embed different bytes.
|
||||
crates/tui/extension-host/src/protocol.generated.ts text eol=lf
|
||||
crates/tui/extension-host/dist/* text eol=lf
|
||||
|
||||
# Rustfmt writes LF; keep Rust sources stable across Windows/Linux/macOS.
|
||||
*.rs text eol=lf
|
||||
|
||||
|
||||
Reference in new issue
Block a user