Skip to content

Commit

Permalink
Update clean.go
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavrneo authored Dec 27, 2023
1 parent 7003b51 commit f610a9f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions cmd/clean/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import (

var reqPath string

var blue = color.New(color.FgBlue)
var bGreen = color.New(color.FgGreen)
var cyan = color.New(color.FgCyan)

func cleanReq(reqPath string, dirPath string, venvPath string, ignoreDirs string, printReq bool, debug bool) {

Expand Down Expand Up @@ -66,10 +65,9 @@ func cleanReq(reqPath string, dirPath string, venvPath string, ignoreDirs string
}

if debug {
blue.Print(("Imports from project: => "))
cyan.Print(("Imports from project: => "))
for i := range importsInfo {
bGreen.Print(i)
fmt.Print(" ")
fmt.Print(i, " ")
}
fmt.Println()
}
Expand All @@ -95,10 +93,9 @@ func cleanReq(reqPath string, dirPath string, venvPath string, ignoreDirs string
}

if debug {
blue.Print("Imports Matched: => ")
cyan.Print("Imports Matched: => ")
for _, i := range matchedImports {
bGreen.Print(i)
fmt.Print(" ")
fmt.Print(i, " ")
}
}

Expand Down

0 comments on commit f610a9f

Please sign in to comment.