lib/rake/funnel/integration/teamcity/teamcity.rb in rake-funnel-0.22.2 vs lib/rake/funnel/integration/teamcity/teamcity.rb in rake-funnel-0.22.3
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module Rake
module Funnel
module Integration
module TeamCity
PROJECT_ENV_VAR = 'TEAMCITY_PROJECT_NAME'.freeze
@@ -30,9 +32,10 @@
private
def teamcity_jre
return nil unless ENV.include?(JRE_ENV_VAR)
+
File.join(ENV[JRE_ENV_VAR], 'bin')
end
end
end
end