From 5a2d08d347c5f7f28ad23487f9700555e68257c4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Apr 2023 14:31:34 +0200 Subject: Merging upstream version 3.2.2. Signed-off-by: Daniel Baumann --- pre_commit/languages/swift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pre_commit') 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), ) -- cgit v1.2.3