Merge pull request #4210 from consul/fix_rubocop_offense

Fix rubocop offenses in XLSX files
This commit is contained in:
Javi Martín
2020-10-23 11:59:31 +02:00
committed by GitHub
2 changed files with 4 additions and 5 deletions

View File

@@ -1,8 +1,7 @@
xlsx_package.workbook.add_worksheet(name: "Summary") do |sheet|
styles = xlsx_package.workbook.styles
title = styles.add_style(b:true)
link = styles.add_style(fg_color: "0000FF", u: true)
styles = xlsx_package.workbook.styles
title = styles.add_style(b: true)
link = styles.add_style(fg_color: "0000FF", u: true)
if @process.debate_phase.enabled? && @process.questions.any?
sheet.add_row [t("legislation.summary.debate_phase"), t("legislation.summary.debates", count: @process.questions.count)], style: title

View File

@@ -54,7 +54,7 @@ namespace :deploy do
after "deploy:migrate", "add_new_settings"
after :publishing, "setup_puma"
after :publishing, "setup_puma"
after :published, "deploy:restart"
before "deploy:restart", "puma:restart"