Pull request -- avoid 'grep *' in cwd when no config files exist. #40

Merged
merged 1 commit into from Oct 16, 2013

4 participants

@pcl
pcl commented May 1, 2013

This prevents a 'grep *' from happening in the current working directory.

@pcl pcl Don't try to load configs if they don't exist
This prevents a 'grep *' from happening in the current working directory.
23db39a
@eproxus

Would appreciate this being merged. Currently the output is:

$ GET /json
grep: app: Is a directory
grep: config: Is a directory
grep: coverage: Is a directory
grep: db: Is a directory
grep: deploy: Is a directory
grep: doc: Is a directory
grep: lib: Is a directory
grep: log: Is a directory
grep: public: Is a directory
grep: script: Is a directory
grep: servlet: Is a directory
grep: test: Is a directory
grep: tmp: Is a directory
grep: vendor: Is a directory
grep: xml: Is a directory
{}
$

Which in my opinion makes the tool unusable.

@micha micha merged commit 68e5d05 into micha:master Oct 16, 2013
@micha
Owner

Thanks for the patch! Sorry it took so ridiculously long. I'm back now though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment