refactor(rubocop): fix Rails/ToFormattedS

This commit is contained in:
Colin Darie 2023-04-24 13:12:23 +02:00
parent 1f3cd386e5
commit e8e785b953
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -5,7 +5,7 @@ class Cron::Datagouv::ExportAndPublishDemarchesPubliquesJob < Cron::CronJob
def perform(*args) def perform(*args)
gzip_filepath = [ gzip_filepath = [
'tmp/', 'tmp/',
Time.zone.now.to_formatted_s(:number), Time.zone.now.to_fs(:number),
'-demarches.json.gz' '-demarches.json.gz'
].join ].join