lib/brief/cli/run.rb in brief-1.15.3 vs lib/brief/cli/run.rb in brief-1.15.4

- old
+ new

@@ -7,10 +7,10 @@ c.action do |args, options| options.default(root: Pathname(args.first || Brief.pwd)) command = args.first.to_s.to_sym - bc = Brief.case = Brief::Briefcase.new(root: Pathname(args.first || options.root)) + bc = Brief.case = Brief::Briefcase.new(root: Pathname(options.root)) bc = bc.call if bc.respond_to?(:call) if !Brief.commands[command.to_sym] puts "Invalid command. #{ Brief.commands.keys }" else