bin/review in review-2.3.0 vs bin/review in review-2.4.0

- old
+ new

@@ -1,7 +1,6 @@ #!/usr/bin/env ruby - # # review: Wrapper command to call subcommand # # ex. # review epubmaker config.yml @@ -33,14 +32,11 @@ command = "review-#{ARGV.shift}" bindir = Pathname.new(__FILE__).realpath.dirname command_path = File.join(bindir, command) -if !File.exist?(command_path) +unless File.exist?(command_path) print "cannot find command: #{command}\n\n" usage end exec(command_path, *ARGV) - - -