From 6a1b12db4cadc3ab833a6cfffa83bb50b7afff1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 29 Sep 2020 18:06:16 +0200 Subject: [PATCH] Fix indentation in XLSX file I'm not sure why we didn't detect it before; either Hound does not iden- tify the file as a Ruby file, or an older version of Rubocop didn't. --- app/views/legislation/processes/summary.xlsx.axlsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/legislation/processes/summary.xlsx.axlsx b/app/views/legislation/processes/summary.xlsx.axlsx index 97baddc24..3aaf73e88 100644 --- a/app/views/legislation/processes/summary.xlsx.axlsx +++ b/app/views/legislation/processes/summary.xlsx.axlsx @@ -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