mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Show the whole gh-notify output line on -vvv
This commit is contained in:
parent
920216d3ea
commit
924ac09370
|
@ -214,6 +214,9 @@ if [ "$total" -gt 0 ]; then
|
|||
|
||||
# Go through each notification, one by one
|
||||
printf "%s\n" "$out" | while read -r line; do
|
||||
|
||||
[ $VERY_VERY_VERBOSE -eq 1 ] && echo "gh-notify output line: $line"
|
||||
|
||||
# Parse out the data from given output lines
|
||||
issue_type="$(echo "$line" | awk '{print $4}' | sed 's/\x1b\[[0-9;]*m//g')"
|
||||
repo_id="$(echo "$line" | awk '{print $3}' | sed 's/\x1b\[[0-9;]*m//g')"
|
||||
|
|
Loading…
Reference in a new issue