Skip to content

Commit

Permalink
Run activate before run (flutter#3506)
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Garcia authored and adsonpleal committed Feb 26, 2021
1 parent 9292b05 commit e283c3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/check_publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ source "$SCRIPT_DIR/common.sh"

function check_publish() {
local failures=()
for dir in $(plugin_tools list --plugins="$1"); do
pub_command global activate flutter_plugin_tools
for dir in $(pub_command global run flutter_plugin_tools list --plugins="$1"); do
local package_name=$(basename "$dir")

echo "Checking that $package_name can be published."
Expand Down

0 comments on commit e283c3b

Please sign in to comment.