-
Notifications
You must be signed in to change notification settings - Fork 10
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
Conversation
aws_doc_sdk_examples_tools/spdx.py
Outdated
prefix = ( | ||
"#" | ||
if p.suffix == ".py" or p.suffix == ".sh" | ||
else '"' if p.suffix == ".abap" else "//" | ||
) |
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.
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 "//" | |
) |
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.
Done (a bit differently, but good catch)
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.
Add Ruby to conditional
587e566
to
2bdbd41
Compare
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.