mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:23:00 +08:00
Fix the build take 2.
This commit is contained in:
@ -41,7 +41,7 @@ task "smoke:test" do
|
|||||||
raise "TRIVIAL GET FAILED WITH #{response.code}"
|
raise "TRIVIAL GET FAILED WITH #{response.code}"
|
||||||
end
|
end
|
||||||
|
|
||||||
results = ""
|
results = +""
|
||||||
|
|
||||||
IO.popen("node #{Rails.root}/test/smoke_test.js #{url}").each do |line|
|
IO.popen("node #{Rails.root}/test/smoke_test.js #{url}").each do |line|
|
||||||
puts line
|
puts line
|
||||||
|
@ -10,7 +10,7 @@ module DiscourseNarrativeBot
|
|||||||
return I18n.t('discourse_narrative_bot.dice.invalid')
|
return I18n.t('discourse_narrative_bot.dice.invalid')
|
||||||
end
|
end
|
||||||
|
|
||||||
output = ''
|
output = +''
|
||||||
|
|
||||||
if num_of_dice > MAXIMUM_NUM_OF_DICE
|
if num_of_dice > MAXIMUM_NUM_OF_DICE
|
||||||
output << I18n.t('discourse_narrative_bot.dice.not_enough_dice',
|
output << I18n.t('discourse_narrative_bot.dice.not_enough_dice',
|
||||||
|
Reference in New Issue
Block a user