Skip to content

Commit

Permalink
Merge pull request #2836 from edelabar/main
Browse files Browse the repository at this point in the history
Change deprecated `swift build` `-C` command line option to replacement `--package-path`
  • Loading branch information
asottile committed Apr 3, 2023
2 parents bb49560 + 84f040f commit 597bf7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit/languages/swift.py
Expand Up @@ -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),
)

0 comments on commit 597bf7c

Please sign in to comment.