fix: force LF line endings for SVG assets; fix remappings typo
CI / Foundry project (push) Has been cancelled

- Add .gitattributes forcing eol=lf for img/*.svg so vm.readFile()
  base64 output is deterministic regardless of core.autocrlf / Windows
  checkout behavior. Fixes testFlipTokenToSad() failing with CRLF
  checked-out SVGs.
- Correct 'remappping' -> 'remappings' in foundry.toml (was emitting a
  build warning).
This commit is contained in:
2026-08-19 19:30:54 +08:00
parent eabb9021de
commit 50bacbd40c
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
# Force LF line endings for asset files read by forge scripts (vm.readFile)
# so the working tree always matches what's stored in git, regardless of
# core.autocrlf / Windows checkout behavior.
img/*.svg text eol=lf