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

Commit

Permalink
fix warning indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynvs committed Sep 2, 2017
1 parent d9cf4fd commit fc84b3e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/dep/base_importer.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ func (i *baseImporter) importPackages(packages []importedPackage, defaultConstra
pc.Constraint, err = i.sm.InferConstraint(prj.ConstraintHint, pc.Ident)
if err != nil {
pc.Constraint = gps.Any()
err = errors.Wrapf(err, "Unable to interpret constraint '%s' for package %s. Using the 'any' constraint instead.")
i.logger.Println(err)
}

var version gps.Version
Expand Down Expand Up @@ -224,7 +222,7 @@ func (i *baseImporter) importPackages(packages []importedPackage, defaultConstra
// Ignore pinned constraints
if i.isConstraintPinned(pc.Constraint) {
if i.verbose {
i.logger.Printf("Ignoring pinned constraint %v for %v.\n", pc.Constraint, pc.Ident)
i.logger.Printf(" Ignoring pinned constraint %v for %v.\n", pc.Constraint, pc.Ident)
}
pc.Constraint = gps.Any()
}
Expand Down

0 comments on commit fc84b3e

Please sign in to comment.