Skip to content

Commit cec1423

Browse files
uditagarwal97boomanaiden154ldionne
authored
[CI] Fix code formatting workflow (#14999)
The code formatting workflow broke just before pulldown from LLVM trunk. This PR cherry-picks the relevant commits from LLVM trunk to fix the bug: llvm/llvm-project@b3c450d and llvm/llvm-project@9572388 Example run: #14998 Fixes #14737 --------- Co-authored-by: Aiden Grossman <[email protected]> Co-authored-by: Louis Dionne <[email protected]>
1 parent ff06bac commit cec1423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/git/code-format-helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def format_run(self, changed_files: List[str], args: FormatArgs) -> Optional[str
225225
ext.strip(".")
226226
) # Exclude periods since git-clang-format takes extensions without them
227227
cf_cmd.append("--extensions")
228-
cf_cmd.append("'{}'".format(",".join(extensions)))
228+
cf_cmd.append(",".join(extensions))
229229

230230
cf_cmd.append("--")
231231
cf_cmd += cpp_files

0 commit comments

Comments
 (0)