-
Notifications
You must be signed in to change notification settings - Fork 683
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
revert to old find_files interface #291
Conversation
8f3a970
to
5bacb88
Compare
return [] | ||
else | ||
return files | ||
end |
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.
Maybe we can simplify this:
return files if exit_status == 0
# received an error
warn "find_files(): non-zero exit status: #{exit_status}"
return []
@srenatus Thanks for the improvement of the find_files test. This is much better now. I think we can simplify the exit code handling even further. |
- fixes #276 - basic test for find_files
5bacb88
to
390e0fc
Compare
@chris-rock ok, updated (if I understood your proposal correctly). While the |
cool that is so simple now. |
Tests should be improved, but I'd rather just see this bug gone now. :) |
Thanks @srenatus for this fix. |
revert to old find_files interface
Fixes #276.
Included tests are minimal.