mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
Give an explicit path to the flutter tool. (#10235)
Maybe this will make the test work in the device lab...
This commit is contained in:
parent
fbc5f74cad
commit
d94ae089c7
|
@ -8,12 +8,13 @@ import 'dart:io';
|
||||||
|
|
||||||
import 'package:flutter_devicelab/framework/framework.dart';
|
import 'package:flutter_devicelab/framework/framework.dart';
|
||||||
import 'package:flutter_devicelab/framework/utils.dart';
|
import 'package:flutter_devicelab/framework/utils.dart';
|
||||||
|
import 'package:path/path.dart' as path;
|
||||||
|
|
||||||
Future<Null> main() async {
|
Future<Null> main() async {
|
||||||
await task(() async {
|
await task(() async {
|
||||||
final Stopwatch clock = new Stopwatch()..start();
|
final Stopwatch clock = new Stopwatch()..start();
|
||||||
final Process analysis = await startProcess(
|
final Process analysis = await startProcess(
|
||||||
'flutter',
|
path.join(flutterDirectory.path, 'bin', 'flutter'),
|
||||||
<String>['analyze', '--flutter-repo', '--dartdocs'],
|
<String>['analyze', '--flutter-repo', '--dartdocs'],
|
||||||
workingDirectory: flutterDirectory.path,
|
workingDirectory: flutterDirectory.path,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue