From 7606efaecc639549b67f67aef1d5b952d1f89c99 Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Wed, 19 Apr 2023 14:35:33 +0100 Subject: [PATCH] (CONT-792) - Layout/LineEndStringConcatenationIndentation --- .rubocop_todo.yml | 8 -------- .../postgresql/postgresql_acls_to_resources_hash.rb | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f88ecda382..7f1fd2ef86 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,11 +1,3 @@ -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, IndentationWidth. -# SupportedStyles: aligned, indented -Layout/LineEndStringConcatenationIndentation: - Exclude: - - 'lib/puppet/functions/postgresql/postgresql_acls_to_resources_hash.rb' - # Offense count: 6 # This cop supports safe autocorrection (--autocorrect). Layout/SpaceAroundMethodCallOperator: diff --git a/lib/puppet/functions/postgresql/postgresql_acls_to_resources_hash.rb b/lib/puppet/functions/postgresql/postgresql_acls_to_resources_hash.rb index f0cdc4513c..f49c40c4e8 100644 --- a/lib/puppet/functions/postgresql/postgresql_acls_to_resources_hash.rb +++ b/lib/puppet/functions/postgresql/postgresql_acls_to_resources_hash.rb @@ -27,7 +27,7 @@ def default_impl(acls, id, offset) unless parts.length >= 4 raise(Puppet::ParseError, "postgresql::postgresql_acls_to_resources_hash(): acl line #{index} does not " \ - 'have enough parts') + 'have enough parts') end resource = {