Skip to content

Commit

Permalink
perf(app): increase table in list-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
kamontat committed Aug 10, 2020
1 parent 943c6f6 commit 9363a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/myzs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ myzs-list-modules() {
reg2="\{2\{([^\{\}]+)\}\}"
reg3="\{3\{(pass|fail|skip)\}\}"

printf '| %-15s | %-35s | %-10s |\n' "[name]" "[path]" "[status]"
printf '| %-20s | %-35s | %-10s |\n' "[name]" "[path]" "[status]"

for mod in "${__MYZS_MODULES[@]}"; do
raw="$(echo "$mod" | grep -Eoi "${reg1}")"
Expand All @@ -90,7 +90,7 @@ myzs-list-modules() {
raw1="${raw//\{3\{/}"
filestatus="${raw1//\}\}/}"

printf '| %-15s | %-35s | %-10s |\n' "${filename}" "${filepath}" "${filestatus}"
printf '| %-20s | %-35s | %-10s |\n' "${filename}" "${filepath}" "${filestatus}"
done

echo
Expand Down

0 comments on commit 9363a68

Please sign in to comment.