Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift command plugin breaks rules command #5848

Closed
2 tasks done
sergioazuaZ opened this issue Nov 5, 2024 · 0 comments · Fixed by #5851
Closed
2 tasks done

Swift command plugin breaks rules command #5848

sergioazuaZ opened this issue Nov 5, 2024 · 0 comments · Fixed by #5851
Assignees
Labels
bug Unexpected and reproducible misbehavior.

Comments

@sergioazuaZ
Copy link

New Issue Checklist

Bug Description

When running the swift command plugin from the command line it seems to force --cache-path into the argument list. This causes an issue when using the rules option as it does not support --cache-path.

$ swift package plugin swiftlint rules -e            
Error: Unknown option '--cache-path'

Environment

  • 0.57.0
  • Xcode version 16
  • Installed via Swift package

Are you using nested configurations? If so, paste their
relative paths and respective contents.

@SimplyDanny SimplyDanny added the bug Unexpected and reproducible misbehavior. label Nov 5, 2024
@SimplyDanny SimplyDanny self-assigned this Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants