-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix double-print in tree command. (#120)
The prior logic unnecessarily recursed, in fact the underlying walker handled recursion correctly already, and the code only needed to handle skipping directories. This commit also cleans up and simplifies the run_* functions' code by pulling some things out into their own functions which report nice error messages. Signed-off-by: Andrew Lilley Brinker <alilleybrinker@gmail.com>
- Loading branch information
1 parent
1761ef9
commit ccd61e4
Showing
2 changed files
with
103 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters