sindresorhus / find-up

Find a file or directory by walking up parent directories
MIT License
582 stars 40 forks source link

Add sugar option for checking current directory first #43

Closed brettz9 closed 5 years ago

sindresorhus commented 5 years ago

That's the default behavior. See the cwd option default value.

brettz9 commented 5 years ago

Whoops, sorry! Not sure how my testing saw something different, but I see it is working that way...