diff options
Diffstat (limited to 'pre_commit')
-rw-r--r-- | pre_commit/languages/swift.py | 2 |
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), ) |