tobiaskaminsky %!s(int64=8) %!d(string=hai) anos
pai
achega
1011e63eb1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/lint/lint-up.rb

+ 1 - 1
scripts/lint/lint-up.rb

@@ -82,7 +82,7 @@ end
 # find number of errors
 error_string = error_warning_string.match(/[0-9]* error[s]?/)
 
-if (error_string == nil)
+if (error_string.nil?)
     current_error_count = 0
 else
     current_error_count = error_string[0].match(/[0-9]*/)[0].to_i