Skip to content

Commit 72101a8

Browse files
committed
reecho wc -l, ensure no extra whitespace
`wc -l` output of MacOS has extra whitespace
1 parent e6bc301 commit 72101a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

find-in-jars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ clearResponsiveMessage() {
218218
################################################################################
219219

220220
readonly jar_files="$(find "${dirs[@]}" "${find_iname_options[@]}" -type f)"
221-
readonly total_count="$(echo "$jar_files" | wc -l)"
221+
readonly total_count="$(echo $(echo "$jar_files" | wc -l))"
222222
[ -z "$jar_files" ] && {
223223
echo "No jar found!" 1>&2
224224
exit 1

0 commit comments

Comments
 (0)