bin/brief in brief-1.17.10 vs bin/brief in brief-1.17.11
- old
+ new
@@ -23,10 +23,10 @@
program :version, Brief::VERSION
# Eager load the briefcase so that the call to Brief.load_commands()
# will pick up the briefcase app's model classes
if ARGV.include?('--root')
- index = ARGV.index_of('--root')
+ index = ARGV.index('--root')
if value = ARGV[index + 1]
$briefcase = Brief::Briefcase.new(root: value)
end
elsif Pathname(Brief.pwd).join("brief.rb").exist?