Skip to content

Commit 9e1d573

Browse files
author
Emmanuel Garcia
authored
Run activate before run (flutter#3506)
1 parent 42d5325 commit 9e1d573

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)