| Index: utils/tests/pub/test_pub.dart
|
| diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
|
| index 0cccbf959dcffb4fb4e509c931141ccf18672974..0195cb015419cf17dfeb98c9279d7ab97146a4e3 100644
|
| --- a/utils/tests/pub/test_pub.dart
|
| +++ b/utils/tests/pub/test_pub.dart
|
| @@ -203,11 +203,11 @@ void schedulePub([List<String> args, Pattern output, Pattern error,
|
| return ensureDir(pathInSandbox(appPath)).chain((_) {
|
| // TODO(rnystrom): Hack in the cache directory path. Should pass this in
|
| // using environment var once #752 is done.
|
| - args.add('--cachedir=${pathInSandbox(cachePath)}');
|
| + args.insertRange(0, 1, '--cachedir=${pathInSandbox(cachePath)}');
|
|
|
| // TODO(rnystrom): Hack in the SDK path. Should pass this in using
|
| // environment var once #752 is done.
|
| - args.add('--sdkdir=${pathInSandbox(sdkPath)}');
|
| + args.insertRange(0, 1, '--sdkdir=${pathInSandbox(sdkPath)}');
|
|
|
| return _runPub(args, pathInSandbox(appPath), pipeStdout: output == null,
|
| pipeStderr: error == null);
|
|
|