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

Use PreRunE for sub-commands #165

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Commits on Feb 28, 2024

  1. Use PreRunE for sub-commands

    By default, PersistentPreRun hooks are not chained. If a child command
    overwrites this, the parent hook is not executed.
    
    This caused the global permissions check to be overwritten in the
    sub-commands and caused misleading error messages when running commands
    without root permission.
    bschimke95 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    8e9195d View commit details
    Browse the repository at this point in the history