Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added default path of "."

  • Loading branch information...
commit 6c2ce36f25f901736f98352e8f2d64d1560082c5 1 parent e54cfa1
@tj authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/search
View
4 bin/search
@@ -35,6 +35,10 @@ var query = program.args.shift()
process.on('exit', console.log);
+// default to the CWD
+
+if (!paths.length) paths.push(process.cwd());
+
/**
* Search `path`.
*
Please sign in to comment.
Something went wrong with that request. Please try again.