have xcodeSelectPath also catch ArgumentError (#37521)

This commit is contained in:
Christopher Fujino
2019-08-02 16:08:49 -07:00
committed by GitHub
parent 40c5cc9708
commit 5fb2d2aeea
2 changed files with 5 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ class Xcode {
_xcodeSelectPath = processManager.runSync(<String>['/usr/bin/xcode-select', '--print-path']).stdout.trim();
} on ProcessException {
// Ignored, return null below.
} on ArgumentError {
// Ignored, return null below.
}
}
return _xcodeSelectPath;