mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 13:05:22 +02:00
Add Homebrew path null check
This commit is contained in:
parent
5783b82dea
commit
b79728af95
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class Homebrew {
|
|||
}
|
||||
}
|
||||
String defaultHomebrewPath = getDefaultHomebrewPath();
|
||||
if (installationExists(defaultHomebrewPath)) {
|
||||
if ((defaultHomebrewPath != null) && installationExists(defaultHomebrewPath)) {
|
||||
return defaultHomebrewPath;
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue