| Index: sdk/lib/_internal/pub/lib/src/git.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/git.dart b/sdk/lib/_internal/pub/lib/src/git.dart
|
| index 5ba66b2ab4f3528044465bdb218f4f4cead9b989..598627aece689e5594009695f88573b846298af6 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/git.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/git.dart
|
| @@ -45,8 +45,7 @@ bool _isInstalledCache;
|
| Future<List<String>> run(List<String> args,
|
| {String workingDir, Map<String, String> environment}) {
|
| if (!isInstalled) {
|
| - throw new ApplicationException(
|
| - "Cannot find a Git executable.\n"
|
| + fail("Cannot find a Git executable.\n"
|
| "Please ensure Git is correctly installed.");
|
| }
|
|
|
| @@ -61,8 +60,7 @@ Future<List<String>> run(List<String> args,
|
| List<String> runSync(List<String> args, {String workingDir,
|
| Map<String, String> environment}) {
|
| if (!isInstalled) {
|
| - throw new ApplicationException(
|
| - "Cannot find a Git executable.\n"
|
| + fail("Cannot find a Git executable.\n"
|
| "Please ensure Git is correctly installed.");
|
| }
|
|
|
|
|