Merge branch 'issue144' of https://github.com/nimterop/nimterop into issue144

This commit is contained in:
Ganesh Viswanathan 2019-12-23 13:38:39 -06:00
commit 113656ef15

View file

@ -355,7 +355,7 @@ proc findFile*(file: string, dir: string, recurse = true, first = false, regex =
var var
cmd = cmd =
when defined(windows): when defined(windows):
"nimgrep --filenames --oneline --nocolor $1 $2 $3" "nimgrep --filenames --oneline --nocolor $1 \"$2\" $3"
elif defined(linux): elif defined(linux):
"find $3 $1 -regextype egrep -regex $2" "find $3 $1 -regextype egrep -regex $2"
elif defined(osx): elif defined(osx):