Skip to content

Commit e283c3b

Browse files
Emmanuel Garciaadsonpleal
Emmanuel Garcia
authored andcommitted
Run activate before run (flutter#3506)
1 parent 9292b05 commit e283c3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script/check_publish.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ source "$SCRIPT_DIR/common.sh"
1212

1313
function check_publish() {
1414
local failures=()
15-
for dir in $(plugin_tools list --plugins="$1"); do
15+
pub_command global activate flutter_plugin_tools
16+
for dir in $(pub_command global run flutter_plugin_tools list --plugins="$1"); do
1617
local package_name=$(basename "$dir")
1718

1819
echo "Checking that $package_name can be published."

0 commit comments

Comments
 (0)