have xcodeSelectPath also catch ArgumentError (#37521)
This commit is contained in:
committed by
GitHub
parent
40c5cc9708
commit
5fb2d2aeea
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user