Skip to content

Commit e5d7544

Browse files
authored
Merge branch 'main' into 216-postgres-libpq-floor
2 parents 4637c90 + ca0a196 commit e5d7544

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎spec/workflow_staging_spec.lua‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@ describe("workflow staging paths", function()
2525

2626
-- Scan command lines only: drop full-line comments, whose prose may
2727
-- legitimately mention paths that are descriptions, not staging ops.
28+
-- Normalize Windows backslash paths to forward slashes so both forms
29+
-- are checked — the Windows staging lines are how the stale-path rot
30+
-- shipped twice, and this guard only matched forward-slash paths.
2831
local commands = {}
2932
for ln in body:gmatch("[^\r\n]+") do
3033
if not ln:match("^%s*#") then
31-
table.insert(commands, ln)
34+
table.insert(commands, (ln:gsub("\\", "/")))
3235
end
3336
end
3437
body = table.concat(commands, "\n")

0 commit comments

Comments
 (0)