-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
feat: support shell scripts with no extension, fix perl shebang regex #4076
Conversation
aa7bdff
to
fd6b906
Compare
Not sure if I added the CHANGELOG entry here since I'm unsure what the versioning scheme will be. Please correct me if I'm wrong. |
@@ -7,10 +7,17 @@ descriptor_flavors: | |||
- c_cpp | |||
- formatters | |||
file_extensions: | |||
- "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the impact of this in projects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the file without an extension does not include a matching shebang, my understanding is that there will be no impact
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, this is needed in order for the conditional logic to even reach the point where it checks for matches in file_contains_regex
. reference
fd6b906
to
5c9edc6
Compare
Proposed Changes
Readiness Checklist
Author/Contributor
Reviewing Maintainer
breaking
if this is a large fundamental changeautomation
,bug
,documentation
,enhancement
,infrastructure
, orperformance