Skip to content

Commit fc653e8

Browse files
committed
fix: Objects with string properties properly print
1 parent 6bfabfb commit fc653e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/src/util/util.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ bash_object.util.print_hierarchy() {
8585
else
8686
# object_value is a string
8787
printf '%*s' "$current_indent" ''
88-
printf '%s\n' "|__ $object_key"
88+
printf '%s\n' "|__ $object_key: $object_value"
8989
fi
9090
done; unset object_key
9191
elif [ "${object_type::1}" = 'a' ]; then

0 commit comments

Comments
 (0)