Skip to content

Commit 7494b94

Browse files
build(deps-dev): bump rubocop from 1.64.1 to 1.65.0 (#3877)
* build(deps-dev): bump rubocop from 1.64.1 to 1.65.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.64.1 to 1.65.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.64.1...v1.65.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix RuboCop offense --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Philipp Thun <[email protected]>
1 parent 60eca61 commit 7494b94

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ group :test do
8585
gem 'rspec-its'
8686
gem 'rspec-rails', '~> 6.1.3'
8787
gem 'rspec-wait'
88-
gem 'rubocop', '~> 1.64.1'
88+
gem 'rubocop', '~> 1.65.0'
8989
gem 'rubocop-rails', '~> 2.25'
9090
gem 'rubocop-rspec', '~> 2.26'
9191
gem 'rubocop-sequel', '~> 0.3.4'

Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ GEM
356356
parallel (1.25.1)
357357
parallel_tests (4.7.1)
358358
parallel
359-
parser (3.3.3.0)
359+
parser (3.3.4.0)
360360
ast (~> 2.4.1)
361361
racc
362362
pg (1.5.6)
@@ -466,13 +466,13 @@ GEM
466466
activesupport (>= 3.0.0)
467467
mustache (~> 1.0, >= 0.99.4)
468468
rspec (~> 3.0)
469-
rubocop (1.64.1)
469+
rubocop (1.65.0)
470470
json (~> 2.3)
471471
language_server-protocol (>= 3.17.0)
472472
parallel (~> 1.10)
473473
parser (>= 3.3.0.2)
474474
rainbow (>= 2.2.2, < 4.0)
475-
regexp_parser (>= 1.8, < 3.0)
475+
regexp_parser (>= 2.4, < 3.0)
476476
rexml (>= 3.2.5, < 4.0)
477477
rubocop-ast (>= 1.31.1, < 2.0)
478478
ruby-progressbar (~> 1.7)
@@ -653,7 +653,7 @@ DEPENDENCIES
653653
rspec-rails (~> 6.1.3)
654654
rspec-wait
655655
rspec_api_documentation (>= 6.1.0)
656-
rubocop (~> 1.64.1)
656+
rubocop (~> 1.65.0)
657657
rubocop-rails (~> 2.25)
658658
rubocop-rspec (~> 2.26)
659659
rubocop-sequel (~> 0.3.4)

lib/services/service_brokers/validation_errors_formatter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def format(validation_errors)
3333
end
3434

3535
def get_messages(errors)
36-
[] unless errors
36+
return [] unless errors
3737

3838
msgs = errors.messages || []
3939

0 commit comments

Comments
 (0)