Skip to content

Add a linter for dslNode.ErrorWithSourcef that asserts that the second arg is a static string #2124

Description

@tstirrat15

If you have a dynamic string in the second position, and it has a % in it, it will be interpreted as a function string and error. The easiest way to avoid this is to assert that the second arg is a static string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions