Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build, due to Rubocop error #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 17, 2021

  1. Fix build, due to Rubocop error

    Fixes the 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.
    ```
    
    which breaks the build.
    64kramsystem committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    88219b1 View commit details
    Browse the repository at this point in the history