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

Feature/adding support for ignoring paths #29

Merged
merged 13 commits into from
Dec 16, 2018

Conversation

jeffctown
Copy link
Collaborator

I expect it is common to need to exclude certain paths from fui, so this PR is to add support for that.

--ignore-path=<arg> can be added multiple times to ignore multiple paths.

Turned off BlockLength Rubocop rule for /spec.

results = []
Find.find(path) do |fpath|
if FileTest.directory?(fpath)
Copy link
Owner

Choose a reason for hiding this comment

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

This should probably be extracted in a helper method.

@dblock dblock merged commit 9c99ed7 into dblock:master Dec 16, 2018
@jeffctown jeffctown deleted the feature/AddingSupportForIgnoringPaths branch December 16, 2018 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants