Skip to content

The build is broken, due to Rubocop error #155

@64kramsystem

Description

@64kramsystem

The build currently fails, due to a Rubocop error:

Offenses: test/roundtrip/test_rubyc.rb:33:31: C: [Correctable] Style/HashConversion: Prefer literal hash to Hash[key: value, ...]. parsed_line = Hash[timestamp: Time.now, line: raw_line.to_s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/roundtrip/test_rubyc.rb:40:31: C: [Correctable] Style/HashConversion: Prefer literal hash to Hash[key: value, ...]. parsed_line = Hash[timestamp: Time.now, line: raw_line.to_s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11 files inspected, 2 offenses detected, 2 offenses auto-correctable Error: Process completed with exit code 1. 

Reference: https://github.com/pmq20/ruby-packer/runs/1917748947?check_suite_focus=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions