From f127982f536b66dc37ac8ef7c4b5c7cae0225a9e Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Tue, 10 Sep 2024 17:31:30 -0700 Subject: [PATCH] Ignore non ascii chars under eng (#5971) --- eng/pipelines/templates/jobs/ci.tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/jobs/ci.tests.yml b/eng/pipelines/templates/jobs/ci.tests.yml index 6525abacc..6c0c6646c 100644 --- a/eng/pipelines/templates/jobs/ci.tests.yml +++ b/eng/pipelines/templates/jobs/ci.tests.yml @@ -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