Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changing from if ! to expressive unless

  • Loading branch information...
commit 4532b8f981f294a635c0db5eda1016f161e3e63b 1 parent f2e91e5
Kurtis Rainbolt-Greene authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/rocco
View
2  bin/rocco
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.