1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Fix web/_tool/verify_packages

Fix lints in a number of samples
This commit is contained in:
Kevin Moore
2019-09-12 16:31:54 -07:00
committed by John Ryan
parent f9d973e7ba
commit 7a63156650
8 changed files with 51 additions and 31 deletions

View File

@@ -21,7 +21,12 @@ void main() async {
for (var i = 0; i < packageDirs.length; i++) {
final dir = packageDirs[i];
_logWrapped(_ansiMagenta, '\n$dir (${i + 1} of ${packageDirs.length})');
results.add(await _run(dir, 'pub', ['upgrade', '--no-precompile']));
results.add(await _run(dir, 'flutter', [
'pub',
'pub',
'upgrade',
'--no-precompile',
]));
results.add(await _run(
dir,
'dartanalyzer',