Skip to content

Commit 4f827be

Browse files
committed
fixing linting errors
1 parent 2f05b52 commit 4f827be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev-tools/mage/manifest/manifest.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ func DownloadManifest(manifest string) (tools.Build, error) {
7070

7171
func resolveManifestPackage(project tools.Project, pkg string, reqPackage string, version string) []string {
7272
var val tools.Package
73-
var ok = true
73+
var ok bool
7474

7575
log.Printf(">>>>>>>>>>>> XXX Looking for package [%s] of type [%s]", pkg, reqPackage)
7676

77-
for pkgName, _ := range project.Packages {
77+
for pkgName := range project.Packages {
7878
if strings.HasPrefix(pkgName, pkg) {
7979
log.Printf(">>>>>>>>>>> XXX Package: %s <<<<", pkgName)
8080
firstSplit := strings.Split(pkgName, pkg+"-")

0 commit comments

Comments
 (0)