Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Repo using go.work and multiple modules errors out #263

@intel352

Description

@intel352

Using lsif-go as part of Gitlab AutoDevops.

$ lsif-go
Resolving module name
WARNING: No go.mod file found in current directory.
WARNING: No go.mod file found in current directory.
error: failed to list project dependencies: failed to list project packages: exit status 1
pattern ./...: directory prefix . does not contain modules listed in go.work or their selected dependencies

In my repo, I have a go.work file at the root, and 4 modules within, which are referenced from the go.work file.
This code compiles correctly, produces multiple binaries which operate correctly, so I'm curious now whether lsif-go doesn't support go.work repos?

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