diff --git a/git-hangman-lab/scripts/list-projs b/git-hangman-lab/scripts/list-projs index 9799393..a7d1324 100755 --- a/git-hangman-lab/scripts/list-projs +++ b/git-hangman-lab/scripts/list-projs @@ -50,7 +50,7 @@ fi echo "| proj-name | owner | url | can-write |" echo "|------------|-------|-----|-----------|" -echo "$RESULT" | while IFS=$'\t' read -r name owner is_private can_write; do +echo "$RESULT" | while IFS=$'\t' read -r name owner is_private is_owner can_see can_write; do can_write_val=$([[ "$can_write" == "1" ]] && echo "yes" || echo "no") echo "| $name | $owner | https://git.hangman-lab.top/$owner/$name.git | $can_write_val |" done \ No newline at end of file