lib/skunk/cli/application.rb in skunk-0.5.2 vs lib/skunk/cli/application.rb in skunk-0.5.3
- old
+ new
@@ -4,12 +4,12 @@
require "rubycritic/cli/application"
require "skunk"
require "skunk/rubycritic/analysed_module"
require "skunk/cli/options"
-require "skunk/cli/command_factory"
-require "skunk/cli/commands/status_sharer"
+require "skunk/command_factory"
+require "skunk/commands/status_sharer"
module Skunk
module Cli
# Knows how to execute command line commands
# :reek:InstanceVariableAssumption
@@ -24,10 +24,10 @@
def execute
warn_coverage_info unless File.exist?(COVERAGE_FILE)
# :reek:NilCheck
@parsed_options = @options.parse.to_h
- command = Skunk::Cli::CommandFactory.create(@parsed_options)
+ command = Skunk::CommandFactory.create(@parsed_options)
reporter = command.execute
print(reporter.status_message)
if command.sharing?
share_status_message = command.share(reporter)