Skip to content

Commit 33e74f0

Browse files
committed
more echo
1 parent d5258e4 commit 33e74f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ update_package() {
8585
owner_out=$([[ "$owner" == "${match_a[0]}" ]] || [[ "${match_a[0]}" =~ ^/ && "$owner" =~ $(sed 's/^\/\(.*\)/\1/' <<<"${match_a[0]}") ]] && echo true || echo false)
8686
repo_out=$( ((${#match_a[@]} < 2)) || [[ "$repo" == "${match_a[1]}" ]] || [[ "${match_a[1]}" =~ ^/ && "$repo" =~ $(sed 's/^\/\(.*\)/\1/' <<<"${match_a[1]}") ]] && echo true || echo false)
8787
package_out=$( ((${#match_a[@]} < 3)) || [[ "$package" == "${match_a[2]}" ]] || [[ "${match_a[2]}" =~ ^/ && "$package" =~ $(sed 's/^\/\(.*\)/\1/' <<<"${match_a[2]}") ]] && echo true || echo false)
88-
echo -e "match: ${match_a[*]}\nowner: $owner_out\nrepo: $repo_out\npkg: $package_out\n"
88+
echo -e "match: ${match_a[*]}\nowner: $owner_out\nrepo: $repo_out\npkg: $package_out (${match_a[2]} | $package | $([[ "${match_a[2]}" =~ ^/ && "$package" =~ $(sed 's/^\/\(.*\)/\1/' <<<"${match_a[2]}") ]] && echo true || echo false))\n"
8989
if $owner_out && $repo_out && $package_out; then
9090
optout_package "$owner_id" "$owner" "$repo" "$package" "$table_version_name"
9191
return

0 commit comments

Comments
 (0)