Skip to content

Conversation

@kardeslik
Copy link
Contributor

Description of the pull request

Remove deprecated autocorrect flag of the SwiftLint and use --fix instead. ref

Why is the change necessary?

It was causing carthage to fail when adding pusher to my project. Below are the logs:

Linting Swift files at paths autocorrect
Error: No lintable files found at paths: 'autocorrect'
Command PhaseScriptExecution failed with a nonzero exit code

Environment

  • SwiftLint 0.50.1
  • Xcode 14.2
  • Carthage 0.38.0

Below are the logs:

Linting Swift files at paths autocorrect
Error: No lintable files found at paths: 'autocorrect'
Command PhaseScriptExecution failed with a nonzero exit code
@fbenevides fbenevides merged commit 29c977a into pusher:master May 19, 2023
fbenevides added a commit that referenced this pull request May 19, 2023
@kardeslik kardeslik deleted the fix-swiftlint-not-working branch June 14, 2023 07:35
@kardeslik kardeslik restored the fix-swiftlint-not-working branch June 14, 2023 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants