Skip to content

Commit 80ec7a5

Browse files
authored
Don't build swift-format in format.py
1 parent c36ef4e commit 80ec7a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Utilities/format.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ def main():
4040
# swift-format.
4141
targets.remove(os.path.join("Sources", "SystemExtras"))
4242

43-
swift_format = build_swift_format()
43+
# swift_format = build_swift_format()
4444

4545
arguments = [
46-
swift_format, "format", "--in-place", "--recursive", "--parallel"
46+
"swift", "format", "format", "--in-place", "--recursive", "--parallel"
4747
]
4848
for target in targets:
4949
arguments.append(os.path.join(SOURCE_ROOT, target))

0 commit comments

Comments
 (0)