simplify: removed rails/node specific env
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user