Skip to content

Commit 8148aa4

Browse files
rajveermalviyagnprice
authored andcommitted
check: Remove workaround for package:flutter_gen
This package is no longer used.
1 parent c15bc77 commit 8148aa4

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tools/check

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -334,20 +334,6 @@ run_pigeon() {
334334
> >(filter_flutter_pub_run_output) \
335335
|| return
336336

337-
# The `flutter pub run` disrupts `.dart_tool/package_config.json`,
338-
# removing `flutter_gen`, which causes analysis failures everywhere
339-
# that we use localization. (And `dart run` has the same problem.)
340-
# Fix it back, with `flutter pub get`.
341-
# TODO(upstream): Find or file a bug for this `pub run` vs. `flutter_gen` issue.
342-
if [ -n "${opt_verbose}" ]; then
343-
flutter pub get \
344-
|| return
345-
else
346-
flutter pub get \
347-
>/dev/null \
348-
|| return
349-
fi
350-
351337
check_no_changes "changes to pigeons" "${outputs[@]}"
352338
}
353339

0 commit comments

Comments
 (0)