We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0a7744 commit 05d3624Copy full SHA for 05d3624
1 file changed
cmd/root.go
@@ -167,18 +167,6 @@ func newProgressFactory() scanner.ProgressFactory {
167
}
168
169
170
-func newProgressFactoryWithTotal(total int) scanner.ProgressFactory {
171
- if !isTTY() {
172
- return nil
173
- }
174
- stepNum := 0
175
- return func(stepName string) scanner.ProgressFunc {
176
- stepNum++
177
- label := fmt.Sprintf("[%d/%d] %s", stepNum, total, stepName)
178
- return newProgress(label)
179
180
-}
181
-
182
func newScanProgressFactory(totalSteps int, descriptions map[string]string) scanner.ProgressFactory {
183
if !isTTY() {
184
return nil
0 commit comments