progress bar fix
This commit is contained in:
@@ -6,3 +6,6 @@
|
|||||||
|
|
||||||
# Output
|
# Output
|
||||||
/bin
|
/bin
|
||||||
|
|
||||||
|
# Lib
|
||||||
|
/lib
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@ type PackageVersion struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func installPackage(packageName, packageVersion string) {
|
func installPackage(packageName, packageVersion string) {
|
||||||
progress := ProgressBar{total: 10, length: 20, enabled: false}
|
progress := ProgressBar{total: 10, length: 20, enabled: true}
|
||||||
progress.change(1, "", "Fetching")
|
progress.change(1, "", "Fetching")
|
||||||
repoURL, err := getRepoURL(packageName)
|
repoURL, err := getRepoURL(packageName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user