Skip to content

Commit df83bc5

Browse files
committed
[GR-20136] Adapt to changes of the release file.
PullRequest: truffleruby/1202
2 parents cc491b9 + 94c8f84 commit df83bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/jt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def truffleruby_compiler?
242242
# Use realpath to always use the executable in languages/ruby/bin/
243243
graalvm_home = File.expand_path("../../../..#{'/..' * language_dir.count('/')}", File.realpath(ruby_launcher))
244244
@truffleruby_compiler = File.readlines("#{graalvm_home}/release").grep(/^COMMIT_INFO=/).any? do |line|
245-
line.include?('"compiler":')
245+
line.include?('"compiler":') || line.include?("'compiler':")
246246
end
247247
end
248248

0 commit comments

Comments
 (0)