summaryrefslogtreecommitdiffstats
path: root/pre_commit
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-07 12:31:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-07 12:31:34 +0000
commit5a2d08d347c5f7f28ad23487f9700555e68257c4 (patch)
tree7f53016d6d2e5331d4ad9f58f11fe801a6094fd7 /pre_commit
parentReleasing debian version 3.2.1-1. (diff)
downloadpre-commit-5a2d08d347c5f7f28ad23487f9700555e68257c4.tar.xz
pre-commit-5a2d08d347c5f7f28ad23487f9700555e68257c4.zip
Merging upstream version 3.2.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pre_commit')
-rw-r--r--pre_commit/languages/swift.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/languages/swift.py b/pre_commit/languages/swift.py
index 8250ab7..f16bb04 100644
--- a/pre_commit/languages/swift.py
+++ b/pre_commit/languages/swift.py
@@ -44,7 +44,7 @@ def install_environment(
os.mkdir(envdir)
cmd_output_b(
'swift', 'build',
- '-C', prefix.prefix_dir,
+ '--package-path', prefix.prefix_dir,
'-c', BUILD_CONFIG,
'--build-path', os.path.join(envdir, BUILD_DIR),
)