Skip to content

Commit a500b87

Browse files
committed
JT: do not print the command to check the gem-test-pack commit
1 parent d9b686e commit a500b87

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
@@ -1404,7 +1404,7 @@ def gem_test_pack
14041404
# Unset variable set by the pre-commit hook which confuses git
14051405
env = { 'GIT_DIR' => nil, 'GIT_INDEX_FILE' => nil }
14061406

1407-
current = raw_sh(env, 'git', '-C', gem_test_pack, 'rev-parse', 'HEAD', capture: :out).chomp
1407+
current = raw_sh(env, 'git', '-C', gem_test_pack, 'rev-parse', 'HEAD', capture: :out, no_print_cmd: true).chomp
14081408
unless current == TRUFFLERUBY_GEM_TEST_PACK_VERSION
14091409
has_commit = raw_sh env, 'git', '-C', gem_test_pack, 'cat-file', '-e', TRUFFLERUBY_GEM_TEST_PACK_VERSION, continue_on_failure: true
14101410
unless has_commit

0 commit comments

Comments
 (0)