Skip to content

Freezing rules issues on windows/non-windows environments #458

Description

@stefanroeck

The default violation storage uses the textual description of violating rules as key. The description of LayeredArchitecture rules however use linebreaks in their text to separate the layer description which is nice on the console but leads to issues when running the same rules on windows and linux environments, as both rule violations are not considered as equal anymore (\r vs. \r\n).

A quick and dirty fix could be to replace any kind of linebreak inside of the FreezingRule, but one could also rethink if using the rule description is a good key or something more stable should be used instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions