Skip to content

Commit 60b34b5

Browse files
committed
use "." as the default directory, not full path
1 parent 61ec5b2 commit 60b34b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/nimgrep.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ if searchOpt.pattern.len == 0:
11961196
reportError("empty pattern was given")
11971197
else:
11981198
if paths.len == 0:
1199-
paths.add(os.getCurrentDir())
1199+
paths.add(".")
12001200
if nWorkers == 0:
12011201
run1Thread()
12021202
else:

0 commit comments

Comments
 (0)