Skip to content

Commit 1150e10

Browse files
committed
Cleaner
1 parent 33a08ff commit 1150e10

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/preflight/cli/interactive_results.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,6 @@ func drawDetails(analysisResult *analyzerunner.AnalyzeResult) {
208208
}
209209

210210
func estimateNumberOfLines(text string, width int) int {
211-
if len(text) < width {
212-
return 1
213-
}
214-
215211
lines := len(text)/width + 1
216212
return lines
217213
}

0 commit comments

Comments
 (0)