mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-30 16:17:25 +00:00
skip the '*' file in the review prompt test on Windows (#12090)
Windows forbids '*' in a file name, so creating it failed the test on the Windows CLI runner. The :(literal) pathspec guard it covers is platform-independent and stays exercised on Linux and macOS. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
2d9594f3f9
commit
1b30551c54
@@ -140,8 +140,9 @@ describe("wmill review prompt", () => {
|
||||
"encryption_key.yaml": "HEAD-ENCRYPTION-KEY\n",
|
||||
"f/a/notes.prod.resource.yaml": "resource_type: postgresql\nvalue:\n password: PROD-PASSWORD\n",
|
||||
"f/a/files.fileset/x.flow/flow.yaml": "password: FILESET-PASSWORD-2\n",
|
||||
// A pathspec matching every changed file, if git were let read it as one.
|
||||
"*": "star\n",
|
||||
// A pathspec matching every changed file, if git were let read it as one. Windows
|
||||
// forbids `*` in a file name.
|
||||
...(process.platform === "win32" ? {} : { "*": "star\n" }),
|
||||
},
|
||||
(base, head) => {
|
||||
const { system, user, instructions } = buildReviewPrompt(base, head);
|
||||
|
||||
Reference in New Issue
Block a user