Skip to content

Commit 1cccfeb

Browse files
authored
Fix hatchet:setup_ci not printing
Close #219 Signed-off-by: Richard Schneeman <rschneeman@salesforce.com>
1 parent 41708b3 commit 1cccfeb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/hatchet/tasks.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
namespace :hatchet do
22
task :setup_ci do
33
script = File.expand_path(File.join(__dir__, "../../etc/ci_setup.rb"))
4-
out = `#{script}`
4+
puts "Running script `#{script}`"
5+
out = `#{script} 2>&1`
6+
puts "Done"
7+
puts "Output:\n"
8+
puts out
59
raise "Command #{script.inspect} failed\n#{out}" unless $?.success?
610
end
711

0 commit comments

Comments
 (0)