diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-09 17:00:03 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-09 17:00:03 +0200 |
| commit | 1406b47e64188765f220be86001ec1f543e0157d (patch) | |
| tree | cca128ffc09c8b68e711f7eccd19fdf97f9cf807 /lib/axlsx/workbook/workbook.rb | |
| parent | c77a48805c17d36c4503df8cf0fe75e7b620e2d4 (diff) | |
| download | caxlsx-1406b47e64188765f220be86001ec1f543e0157d.tar.gz caxlsx-1406b47e64188765f220be86001ec1f543e0157d.zip | |
Fix Layout/ExtraSpacing offenses
Configure with `AllowBeforeTrailingComments: true`
Diffstat (limited to 'lib/axlsx/workbook/workbook.rb')
| -rw-r--r-- | lib/axlsx/workbook/workbook.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/workbook.rb b/lib/axlsx/workbook/workbook.rb index 567a0598..134a3e6b 100644 --- a/lib/axlsx/workbook/workbook.rb +++ b/lib/axlsx/workbook/workbook.rb @@ -344,7 +344,7 @@ module Axlsx pivot_tables.each_with_index do |pivot_table, index| r << Relationship.new(pivot_table.cache_definition, PIVOT_TABLE_CACHE_DEFINITION_R, PIVOT_TABLE_CACHE_DEFINITION_PN % (index + 1)) end - r << Relationship.new(self, STYLES_R, STYLES_PN) + r << Relationship.new(self, STYLES_R, STYLES_PN) if use_shared_strings r << Relationship.new(self, SHARED_STRINGS_R, SHARED_STRINGS_PN) end |
