Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`get_frappe_commands` returns a list of valid frappe commands which is used to check if the user command is valid. But this is unnecessary because even without it bench can report the command not found error. This saves ~1 second.
- Loading branch information
431e969
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.
this change breaks all bench commands.

the code never reach the else condition where the bench_command is.
431e969
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.
@seethersan Yes, we have reverted the change.