Skip to content

Bug: exclude-file-docstrings not excluding files it should exclude. #408

@hu3bi

Description

@hu3bi

This option is not working as intended:

Calling
go tool nilaway -exclude-file-docstrings 'Code generated by' ./...
or
go tool nilaway -exclude-file-docstrings="Code generated by" ./...

should exclude the following myFilename_templ.go file:

// Code generated by templ - DO NOT EDIT.

// templ: version: v0.3.1001
package component
…

However, this is not the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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