File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments