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

Handle sap-abap SPDX header #6

Merged
merged 2 commits into from
Feb 27, 2024
Merged

Handle sap-abap SPDX header #6

merged 2 commits into from
Feb 27, 2024

Conversation

DavidSouther
Copy link
Contributor

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment on lines 98 to 102
prefix = (
"#"
if p.suffix == ".py" or p.suffix == ".sh"
else '"' if p.suffix == ".abap" else "//"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
prefix = (
"#"
if p.suffix == ".py" or p.suffix == ".sh"
else '"' if p.suffix == ".abap" else "//"
)
prefix = (
"#"
if p.suffix == ".py" or p.suffix == ".sh" or p.suffix == ".rb"
else '"' if p.suffix == ".abap" else "//"
)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done (a bit differently, but good catch)

Copy link
Contributor

@ford-at-aws ford-at-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add Ruby to conditional

@DavidSouther DavidSouther merged commit 00c43a0 into main Feb 27, 2024
1 check passed
@DavidSouther DavidSouther deleted the spdx/sap-abap branch July 16, 2024 16:17
@DavidSouther DavidSouther added Enhancement A general update to the code base. Task A general update to the code base for language clarification, missing actions, tests, etc. labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A general update to the code base. Task A general update to the code base for language clarification, missing actions, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants