mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-19 22:41:45 +02:00
ci: account for PowerShell CRLF in strict PCRE2 probe
This commit is contained in:
@@ -73,7 +73,8 @@ jobs:
|
||||
}
|
||||
rg --version
|
||||
if ($LASTEXITCODE -ne 0) { throw 'ripgrep executable is unavailable' }
|
||||
'ecc-pcre2-probe' | rg --pcre2 -- '^ecc-pcre2-probe$'
|
||||
# PowerShell writes CRLF to native stdin; retain anchored matching.
|
||||
'ecc-pcre2-probe' | rg --pcre2 --crlf -- '^ecc-pcre2-probe$'
|
||||
if ($LASTEXITCODE -ne 0) { throw 'ripgrep PCRE2 support is required' }
|
||||
|
||||
# Package manager setup
|
||||
|
||||
Reference in New Issue
Block a user