Browse Source

fix typos

jguer 2 years ago
parent
commit
c86c460816
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pkg/dep/dep.go
  2. 1 1
      pkg/topo/dep.go

+ 1 - 1
pkg/dep/dep.go

@@ -80,7 +80,7 @@ func provideSatisfies(provide, dep, pkgVersion string) bool {
 		return false
 	}
 
-	// Unversioned provieds can not satisfy a versioned dep
+	// Unversioned provides can not satisfy a versioned dep
 	if provideMod == "" && depMod != "" {
 		provideVersion = pkgVersion // Example package: pagure
 	}

+ 1 - 1
pkg/topo/dep.go

@@ -146,7 +146,7 @@ func (g *Graph[T, V]) String() string {
 
 		if info, ok := g.nodeInfo[node]; ok {
 			if info.Background != "" || info.Color != "" {
-				extra = fmt.Sprintf("[color = %s ,style = filled, fillcolor = %s]", info.Color, info.Background)
+				extra = fmt.Sprintf("[color = %s, style = filled, fillcolor = %s]", info.Color, info.Background)
 			}
 		}