From 59c23ebef585206e0f8a031d681f115ed139147e Mon Sep 17 00:00:00 2001 From: Dane Walton Date: Mon, 17 May 2021 08:26:06 -0700 Subject: [PATCH] add clang format version --- eng/pipelines/templates/jobs/archetype-sdk-client.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index 823e05f1e0..80985d6260 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -365,6 +365,7 @@ jobs: # Validate all the files are formatted correctly according to the .clang-format file. - bash: | # Run clang-format recursively on each source and header file within the repo. + clang-format --version find . \( -iname '*.h' -o -iname '*.c' \) -exec clang-format -i {} \; git status --untracked-files=no --porcelain