Skip to content

Feature/adding support for ignoring paths#29

Merged
dblock merged 13 commits intodblock:masterfrom
jeffctown:feature/AddingSupportForIgnoringPaths
Dec 16, 2018
Merged

Feature/adding support for ignoring paths#29
dblock merged 13 commits intodblock:masterfrom
jeffctown:feature/AddingSupportForIgnoringPaths

Conversation

@jeffctown
Copy link
Copy Markdown
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.

Comment thread lib/fui/finder.rb
def find(path)
results = []
Find.find(path) do |fpath|
if FileTest.directory?(fpath)
Copy link
Copy Markdown
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