Skip to content

An error occurred with Style/IfWithSemicolon #61

@hron84

Description

@hron84

If I disable this specific cop, it runs correctly.

An error occurred while Style/IfWithSemicolon cop was inspecting /tmp/d20231211-21400-1u2korb/site-cookbooks/swf-base/templates/default/keepalived.erb:21:11.
An error occurred while Style/IfWithSemicolon cop was inspecting /tmp/d20231211-21400-1u2korb/site-cookbooks/swf-base/templates/default/keepalived.erb:24:14.

2 errors occurred:
An error occurred while Style/IfWithSemicolon cop was inspecting /tmp/d20231211-21400-1u2korb/site-cookbooks/swf-base/templates/default/keepalived.erb:21:11.
An error occurred while Style/IfWithSemicolon cop was inspecting /tmp/d20231211-21400-1u2korb/site-cookbooks/swf-base/templates/default/keepalived.erb:24:14.
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/rubocop-hq/rubocop/issues

Mention the following information in the issue report:
0.93.1 (using Parser 3.1.0.0, rubocop-ast 1.15.1, running on ruby 2.7.2 x86_64-linux)

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