Skip to content

Commit a61bf3c

Browse files
committed
fix: downloading the packages in package list
1 parent 8eaa794 commit a61bf3c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: commands/install.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,13 @@ func Install(c *cli.Context) {
2626
return
2727
}
2828
}
29-
} else {
3029
log.Fatal("Package not found")
3130
}
31+
32+
for _, file := range config.Files {
33+
filePath := module.DownloadFileToCache(file.URL)
34+
installPackage(filePath)
35+
}
3236
}
3337

3438
func installPackage(filePath string) {

0 commit comments

Comments
 (0)