Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(scripts): check out sync-phone-protocol.mjs with LF on Windows (#5798)

Milind Soni4a738e8b2bae
diff --git a/.gitattributes b/.gitattributes
index ab0c99a654..4bf08542a6 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -55,6 +55,10 @@ relay/test/vectors/** text eol=lf
deploy/fly/Caddyfile* text eol=lf
deploy/fly/*.caddy text eol=lf
+# Imported by scripts/sync-phone-protocol.test.mjs through vitest, which fails with "Invalid or unexpected token" on a
+# file that starts with a shebang and has CRLF line endings (a Windows checkout), as with tighten-ratchets.mjs above.
+scripts/sync-phone-protocol.mjs text eol=lf
+
# Bundled skills ship to Linux Clouds as they are, and server/skill-publish-to-netlify.test.ts imports a skill's helper
# through vitest: Vite's transform (vitest 4.1.11) fails with "Invalid or unexpected token" on a file that starts
# with a shebang and has CRLF line endings, which is what a Windows checkout made of it.