mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-05 01:02:37 +00:00
Pass newline='\n' to open() so that tool.specs.json is always written with LF line endings regardless of the platform. Without this, running the script on Windows produces CRLF, causing every line to show as modified in git diff. Adds a regression test that reads the output in binary mode and asserts no \r\n bytes are present. Closes #4737 Co-Authored-By: João <joao@crewai.com>