Skip to content

Commit

Permalink
[Truffle] JT: Remove useless enumerator.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Mar 19, 2015
1 parent fbf9427 commit 31fc0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/jt.rb
Expand Up @@ -19,7 +19,7 @@
module Utilities

def self.graal_version
File.foreach("#{JRUBY_DIR}/truffle/pom.rb").each do |line|
File.foreach("#{JRUBY_DIR}/truffle/pom.rb") do |line|
if /jar 'com.oracle:truffle:(\d+\.\d+(?:-SNAPSHOT)?)'/ =~ line
break $1
end
Expand Down

0 comments on commit 31fc0d9

Please sign in to comment.