Fix parsing of output-directory Uri in windows

Change-Id: I3e3417e5048f8545056d99df35ca2de140dc31f5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/105680
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
Sigmund Cherem 2019-06-11 23:21:43 +00:00 committed by commit-bot@chromium.org
parent dab4eb045f
commit 080ff1f3b9

View file

@ -100,7 +100,7 @@ class Options {
exit(1);
}
}
Uri toUri(s) => s == null ? null : Uri.base.resolve(s);
Uri toUri(s) => s == null ? null : Uri.base.resolveUri(Uri.file(s));
return Options()
..showSkipped = argResults['show-skipped']
..verbose = argResults['verbose']