Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

dep ensure --dry-run seems broken #971

Closed
@tnozicka

Description

What version of Go (go version) and dep (git describe --tags) are you using?

go version go1.8.3 linux/amd64
dep - v0.3.0-22-g11758a7

What dep command did you run?

$ dep ensure
$ dep ensure --dry-run
Would have populated vendor/ directory from Gopkg.lock

What did you expect to see?

Empty output

What did you see instead?

Would have populated vendor/ directory from Gopkg.lock

The reason to use --dry-run is to see if there would be any changes done to e.g. check if vendor/ corresponds to current state of Gopkg.toml and .lock. It shouldn't say it would populate vendor/ if there are no changes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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