bin/overview in overview-0.0.3.56 vs bin/overview in overview-0.0.3.61
- old
+ new
@@ -67,10 +67,10 @@
c.desc 'Rubygem compatible version with build appended e.g. 0.1.1.534'
c.switch :r
c.desc 'Github token'
c.flag :g
c.action do |global_options,options,args|
- ENV['GITHUB_TOKEN'] = options[:g]
+ ENV['GITHUB_TOKEN'] = options[:g] unless options[:g].nil?
if options[:s]
puts Overview::AppVersion.new.version(true).to_s
elsif options[:b]
puts Overview::AppVersion.new.build_no.to_s
elsif options[:v]