Skip to content

Commit

Permalink
fix: incorrect arg skip pattern for --check_out_path=
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlau10 authored and sumneko committed Feb 7, 2025
1 parent 3a25021 commit 115a518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->
* `FIX` incorrect argument skip pattern for `--check_out_path=`, which incorrectly skips the next argument

## 3.13.6
`2025-2-6`
Expand Down
2 changes: 1 addition & 1 deletion script/cli/check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local function buildArgs(exe, numThreads, threadId, format, quiet)
args[#args + 1] = arg:gsub('%-%-%w*', '--check_worker')
-- --check_out_path needs to be removed if we have more than one thread
elseif arg:lower():match('%-%-check_out_path') and numThreads > 1 then
if not arg:match('%-%-%w*=') then
if not arg:match('%-%-[%w_]*=') then
skipNext = true
end
else
Expand Down

0 comments on commit 115a518

Please sign in to comment.