From 0c43a8ff088598762b68e7cff0916e7fa55ffee0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Apr 2023 14:31:30 +0200 Subject: Adding 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/languages/swift.py') 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