Fixed bug: Missing file extension causes flushing of wrong file.

This commit is contained in:
Thorsten Eckel 2018-04-26 11:28:23 +02:00
parent 20f69f3cc1
commit ee0b51b670

View file

@ -12,7 +12,7 @@ namespace :bs do
end
APP_CACHE = Dir.glob(Rails.root.join('tmp', 'cache*'))
SERVER_LOG = Rails.root.join('log', Rails.env)
SERVER_LOG = Rails.root.join('log', "#{Rails.env}.log")
AUTO_WIZARD = { source: Rails.root.join('contrib', 'auto_wizard_test.json'),
destination: Rails.root.join('auto_wizard.json') }.freeze