-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix: refactor to latest asdf best practices #62
base: main
Are you sure you want to change the base?
Conversation
test/banned_commands.bats
Outdated
# followed by an underscore (indicating it's a variable and not a | ||
# command). | ||
for cmd in "${banned_commands[@]}"; do | ||
run bash -c "grep -nHR --include \*.bash --include \*.sh '$cmd' . \ |
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.
The listed dirs to check does not seem to be working as expected. It is not capturing banned commands in some of the bin/
commands. Need to fix.
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.
it is because of the --include
as the files in bin
and lib
do not have extensions being grepped for
Description
banned_commands.bats
from asdf core to enforce POSIX and cross platform functionality as best as possiblelib/*
dirMotivation and Context
Types of changes
Usage examples
How Has This Been Tested?
Checklist: