Skip to content

proto_strip_import_prefix does not detect prefix correctly #2175

@mering

Description

@mering

Consider foo/BUILD:

# gazelle:proto_strip_import_prefix /portal/protos

Gazelle prints the following error:

gazelle: proto_strip_import_prefix "/foo/bar" not in directory foo

Obviously foo/bar is in the directory foo, so this warning seems to be a false positive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions