Skip to content

[Bug]: Incorrect file tagging when checks are made #719

@thelaycon

Description

@thelaycon

What happened?

Helixdb cli tool when running helix push dev correctly detects the error but tags the wrong file.
This happened in a case in which an edge relationship was declared twice in schema.hx. However, helix tags queries.hx.

Image

The identified line number where the error occurs is correct as well, but the file name is wrong.

Has_product was declared twice in this case.

Helix version: v2.1.2.

Steps to reproduce

  1. Declare duplicate edge relationship.
  2. Run helix push dev.

Version

v2.1.2

Environment

Self-hosted

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions