Skip to content

Commit 84f040f

Browse files
committed
fix #2235
1 parent bb49560 commit 84f040f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre_commit/languages/swift.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def install_environment(
4444
os.mkdir(envdir)
4545
cmd_output_b(
4646
'swift', 'build',
47-
'-C', prefix.prefix_dir,
47+
'--package-path', prefix.prefix_dir,
4848
'-c', BUILD_CONFIG,
4949
'--build-path', os.path.join(envdir, BUILD_DIR),
5050
)

0 commit comments

Comments
 (0)