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

No files matched message #1534

Merged
merged 11 commits into from
Jul 18, 2022

Conversation

paul-dingemans
Copy link
Collaborator

Description

Print an error message and return with non-zero exit code when no files are found that match with the globs.

Checklist

  • PR description added
  • tests are added
  • CHANGELOG.md is updated

In case of adding a new rule:

  • README.md is updated
  • Rule has been applied on Ktlint itself and violations are fixed

@paul-dingemans paul-dingemans added this to the 0.47.0 milestone Jul 14, 2022
# Conflicts:
#	CHANGELOG.md
#	ktlint/src/main/kotlin/com/pinterest/ktlint/internal/FileUtils.kt
@paul-dingemans paul-dingemans merged commit 07ce058 into pinterest:master Jul 18, 2022
@paul-dingemans paul-dingemans deleted the 629-no-files-message branch July 18, 2022 12:02
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.

1 participant