Verified Commit 50b43296 authored by Matias Alvarez's avatar Matias Alvarez Committed by GitLab
Browse files

fix: Fix RuboCop offenses in field_validator.rb

- Add inline disable for Style/RaiseArgs (raise SystemExit.new(2) is
  intentional to set exit code 2)
- Remove trailing whitespace from comments
- Add final newline
parent ca51b81f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ module Labkit
            warn report_new_offenses(new_offenses)
            # Raise with exit code 2 to bypass the RSpec retry mechanism
            # See https://gitlab.com/gitlab-org/quality/tooling/labkit-spec/-/work_items/2
            raise SystemExit.new(2)
            raise SystemExit.new(2) # rubocop:disable Style/RaiseArgs
          end
        end