Skip to content

Commit 380fabd

Browse files
committed
Revert "Update detect"
This reverts commit dcf7b4c.
1 parent dcf7b4c commit 380fabd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ if components.empty?
3030
abort
3131
else
3232
str = components.join(' ')
33-
puts str
33+
puts str.length > 255 ? str.slice(0..251) + '...' : str
3434
end

0 commit comments

Comments
 (0)