Skip to content

Commit 8a9c537

Browse files
committed
JT: no need to change PATH for jt rubocop
1 parent a500b87 commit 8a9c537

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tool/jt.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,11 +2080,7 @@ def rubocop(*args)
20802080

20812081
if gem_test_pack?
20822082
gem_home = "#{gem_test_pack}/rubocop-gems"
2083-
env = {
2084-
'GEM_HOME' => gem_home,
2085-
'GEM_PATH' => gem_home,
2086-
'PATH' => "#{gem_home}/bin:#{ENV['PATH']}"
2087-
}
2083+
env = { 'GEM_HOME' => gem_home, 'GEM_PATH' => gem_home }
20882084
sh env, 'ruby', "#{gem_home}/bin/rubocop", *args
20892085
else
20902086
sh 'rubocop', '_0.66.0_', *args

0 commit comments

Comments
 (0)