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

fix: Show warning when any ./lib/commands are marked as executable #1593

Merged
merged 1 commit into from
Sep 10, 2023

Conversation

hyperupcall
Copy link
Contributor

@hyperupcall hyperupcall commented Jul 11, 2023

Summary

There have been several cases in which users have mistakenly marked files under ./lib/commands/ as executable. This creates mysterious errors as seen in the linked issue.

To prevent this and reduce frustration, show an error message so users can more easily diagnose the issue without looking at the source code.

Closes #1540
Closes #1596 (local setup issue, not asdf)
Closes #1478 (resolved)

@hyperupcall hyperupcall requested a review from a team as a code owner July 11, 2023 21:04
@hyperupcall hyperupcall changed the title fix: Show warning when any commands are marked as executable fix: Show warning when any ./lib/commands are marked as executable Jul 11, 2023
Copy link
Contributor

@jthegedus jthegedus left a comment

Choose a reason for hiding this comment

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

Makes sense to me 👍

@jthegedus jthegedus merged commit 2043a09 into asdf-vm:master Sep 10, 2023
9 checks passed
@hyperupcall hyperupcall deleted the h-chagne-executable-commands branch September 10, 2023 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants