Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Release validation parses workflow jobs and verifies canonical patch bytes.
# Keep these inputs identical when Windows checks out with core.autocrlf=true.
.github/workflows/*.yml text eol=lf
patches/*.patch text eol=lf
7 changes: 6 additions & 1 deletion scripts/mod-ollama-chat-patch.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ function resolveMsvcEnvironment() {
"/c",
`call "${developerCommand}" -no_logo -arch=x64 -host_arch=x64 >nul && set`,
],
{ encoding: "utf8", stdio: ["ignore", "pipe", "pipe"] },
{
encoding: "utf8",
stdio: ["ignore", "pipe", "pipe"],
// This argument already uses cmd.exe quoting, not Windows argv escaping.
windowsVerbatimArguments: true,
},
);
return mergeWindowsEnvironment(process.env, output);
}
Expand Down
Loading