Ignore non ascii chars under eng (#5971)
This commit is contained in:
parent
c3265d3e5b
commit
f127982f53
@ -162,7 +162,7 @@ jobs:
|
||||
echo Validate that the files in the repo contain only ASCII characters, saved as UTF-8, without a BOM at the start.
|
||||
|
||||
# Run grep recursive excluding git folder and known expected files and save a file with results.
|
||||
grep -I -P -n "[^\x00-\x7F]" -r --exclude-dir ".git" --exclude-dir ".github" --exclude-dir "vcpkg_installed" --exclude-dir "_deps" --exclude-dir "vendor" --exclude-dir "nlohmann-json-test" --exclude "grepResults" . > grepResults
|
||||
grep -I -P -n "[^\x00-\x7F]" -r --exclude-dir ".git" --exclude-dir ".github" --exclude-dir "eng" --exclude-dir "vcpkg_installed" --exclude-dir "_deps" --exclude-dir "vendor" --exclude-dir "nlohmann-json-test" --exclude "grepResults" . > grepResults
|
||||
|
||||
# Display results to console.
|
||||
cat grepResults
|
||||
|
||||
Loading…
Reference in New Issue
Block a user