This repository was archived by the owner on Sep 9, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ func (cmd *pruneCommand) Register(fs *flag.FlagSet) {
4141}
4242
4343func (cmd * pruneCommand ) Run (ctx * dep.Ctx , args []string ) error {
44- ctx .Out .Printf ("Pruning is now performed automatically by dep ensure.\n " )
45- ctx .Out .Printf ("Set prune settings in %s and it it will be applied when running ensure.\n " , dep .ManifestName )
46- ctx .Out .Printf ("\n dep prune will be removed in a future version, and this command will exit non-0.\n Please update your scripts.\n " )
44+ ctx .Err .Printf ("Pruning is now performed automatically by dep ensure.\n " )
45+ ctx .Err .Printf ("Set prune settings in %s and it it will be applied when running ensure.\n " , dep .ManifestName )
46+ ctx .Err .Printf ("\n This command currently still prunes as it always has, to ease the transition.\n " )
47+ ctx .Err .Printf ("However, it will be removed in a future version of dep.\n " )
48+ ctx .Err .Printf ("\n Now is the time to update your Gopkg.toml and remove `dep prune` from any scripts.\n " )
4749
4850 p , err := ctx .LoadProject ()
4951 if err != nil {
You can’t perform that action at this time.
0 commit comments