Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Sep 15, 2023
1 parent e4685a0 commit 2d0c22a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-09-15 11:12:25 UTC using RuboCop version 1.54.2.
# on 2023-09-15 14:22:01 UTC using RuboCop version 1.54.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down
2 changes: 1 addition & 1 deletion lib/metadata_json_lint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def parse(metadata)
# Validate basic structure against JSON schema
schema_errors = Schema.new.validate(parsed)
schema_errors.each do |err|
error (err[:field] == 'root' ? :required_fields : err[:field]), err[:message]
error ((err[:field] == 'root') ? :required_fields : err[:field]), err[:message]
end

validate_dependencies!(parsed['dependencies']) if parsed['dependencies']
Expand Down

0 comments on commit 2d0c22a

Please sign in to comment.