Commit d94ae089 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Give an explicit path to the flutter tool. (#10235)

Maybe this will make the test work in the device lab...
parent fbc5f74c
...@@ -8,12 +8,13 @@ import 'dart:io'; ...@@ -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,
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment