Skip to content
This repository
Browse code

Changing from if ! to expressive unless

  • Loading branch information...
commit 4532b8f981f294a635c0db5eda1016f161e3e63b 1 parent f2e91e5
authored January 08, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  bin/rocco
2  bin/rocco
@@ -48,7 +48,7 @@ ARGV.options { |o|
48 48
 } or abort_with_note
49 49
 
50 50
 # Use http://pygments.appspot.com in case `pygmentize(1)` isn't available.
51  
-if ! ENV['PATH'].split(':').any? { |dir| File.exist?("#{dir}/pygmentize") }
  51
+unless ENV['PATH'].split(':').any? { |dir| File.exist?("#{dir}/pygmentize") }
52 52
   unless options[:webservice]
53 53
     $stderr.puts "pygmentize not in PATH; using pygments.appspot.com instead"
54 54
     options[:webservice] = true

0 notes on commit 4532b8f

Please sign in to comment.
Something went wrong with that request. Please try again.