diff --git a/cmd/dep/ensure.go b/cmd/dep/ensure.go index cfce3cf5ac..a90c8da18d 100644 --- a/cmd/dep/ensure.go +++ b/cmd/dep/ensure.go @@ -477,7 +477,7 @@ func (cmd *ensureCommand) runAdd(ctx *dep.Ctx, args []string, p *dep.Project, sm var wg sync.WaitGroup - fmt.Println("Fetching sources...") + ctx.Out.Println("Fetching sources...") for i, arg := range args { wg.Add(1) diff --git a/cmd/dep/testdata/harness_tests/ensure/add/desync/stdout.txt b/cmd/dep/testdata/harness_tests/ensure/add/desync/stdout.txt index 9adb1974eb..c0d7219848 100644 --- a/cmd/dep/testdata/harness_tests/ensure/add/desync/stdout.txt +++ b/cmd/dep/testdata/harness_tests/ensure/add/desync/stdout.txt @@ -1 +1,2 @@ Warning: Gopkg.lock is out of sync with Gopkg.toml or the project's imports. +Fetching sources...