lib/guard/commands/all.rb in guard-2.10.2 vs lib/guard/commands/all.rb in guard-2.10.3
- old
+ new
@@ -1,9 +1,8 @@
# required for async_queue_add
require "pry"
-require "guard/interactor"
require "guard"
module Guard
module Commands
class All
@@ -20,10 +19,10 @@
You may want to specify an optional scope to the action,
either the name of a Guard plugin or a plugin group.
BANNER
def process(*entries)
- scopes, unknown = Interactor.convert_scope(entries)
+ scopes, unknown = ::Guard.state.session.convert_scope(entries)
unless unknown.empty?
output.puts "Unknown scopes: #{ unknown.join(", ") }"
return
end