simplify: removed rails/node specific env

This commit is contained in:
rkiel
2016-04-29 09:12:25 -04:00
parent 60b1c90cc1
commit 21e65d0e99
4 changed files with 9 additions and 99 deletions

View File

@@ -7,6 +7,15 @@ module Xgrep
end
def update_pathspec ( pathspec )
files = %w{}
dirs = %w{.}
specs = %w{}
if pathspec.empty?
@pathspec = files + dirs + specs
else
@pathspec = pathspec
end
end
end
end