diff options
| -rw-r--r-- | .rubocop_todo.yml | 5 | ||||
| -rw-r--r-- | lib/axlsx/package.rb | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 0bf54fef..a7427d9b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -216,11 +216,6 @@ Style/Lambda: - 'lib/axlsx/stylesheet/styles.rb' - 'lib/axlsx/util/validators.rb' -# This cop supports unsafe autocorrection (--autocorrect-all). -Style/LineEndConcatenation: - Exclude: - - 'lib/axlsx/package.rb' - # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowMethodComparison. Style/MultipleComparison: diff --git a/lib/axlsx/package.rb b/lib/axlsx/package.rb index 3f225648..2983ed72 100644 --- a/lib/axlsx/package.rb +++ b/lib/axlsx/package.rb @@ -379,7 +379,7 @@ module Axlsx # @private def parse_serialize_options(options, secondary_options) if secondary_options - warn "[DEPRECATION] Axlsx::Package#serialize with 3 arguments is deprecated. " + + warn "[DEPRECATION] Axlsx::Package#serialize with 3 arguments is deprecated. " \ "Use keyword args instead e.g., package.serialize(output, confirm_valid: false, zip_command: 'zip')" end if options.is_a?(Hash) @@ -391,7 +391,7 @@ module Axlsx [options.fetch(:confirm_valid, false), options.fetch(:zip_command, nil)] else - warn "[DEPRECATION] Axlsx::Package#serialize with confirm_valid as a boolean is deprecated. " + + warn "[DEPRECATION] Axlsx::Package#serialize with confirm_valid as a boolean is deprecated. " \ "Use keyword args instead e.g., package.serialize(output, confirm_valid: false)" parse_serialize_options((secondary_options || {}).merge(confirm_valid: options), nil) end |
