Skip to content

Unmarking file with -linguist-generated doesn't work #7660

@HaraldNordgren

Description

@HaraldNordgren

Describe the bug

-linguist-generated to unmark files doesn't work.

Have a file starting like this and try to get linguist NOT to see it as a generated file:

package resolver

// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.
// Code generated by github.com/99designs/gqlgen version v0.17.74

import (
...

Expected behaviour

File is not marked as generated anymore.

Related discussion

99designs/gqlgen#3763

Additional notes

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