Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Commit 068239f

Browse files
committed
Use puts instead of rails logger
1 parent 53c6f91 commit 068239f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/tasks/gifts.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ namespace :gift do
1515
1616
Do you want to gift the remaining coupons to incompleted users? (y/n)"
1717

18-
Rails.logger.info message
18+
puts message
1919

2020
input = STDIN.gets.strip
2121

2222
if input == 'y'
23-
Rails.logger.info 'Gifting coupons...'
23+
puts 'Gifting coupons...'
2424
GiftService.call
2525
else
26-
Rails.logger.info 'Terminating.'
26+
puts 'Terminating.'
2727
end
2828
end
2929
end

0 commit comments

Comments
 (0)