Skip to content

Commit

Permalink
Changing from if ! to expressive unless
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurtis Rainbolt-Greene committed Jan 9, 2012
1 parent f2e91e5 commit 4532b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/rocco
Expand Up @@ -48,7 +48,7 @@ ARGV.options { |o|
} or abort_with_note

# Use http://pygments.appspot.com in case `pygmentize(1)` isn't available.
if ! ENV['PATH'].split(':').any? { |dir| File.exist?("#{dir}/pygmentize") }
unless ENV['PATH'].split(':').any? { |dir| File.exist?("#{dir}/pygmentize") }
unless options[:webservice]
$stderr.puts "pygmentize not in PATH; using pygments.appspot.com instead"
options[:webservice] = true
Expand Down

0 comments on commit 4532b8f

Please sign in to comment.