Commit 1ce56d4
fix: skip Homebrew prompt on FreeBSD and other non-Linux/macOS platforms
Closes #68893
The needsBrewPrompt guard used `process.platform !== "win32"`, which
incorrectly shows the Homebrew install suggestion on FreeBSD and any
other non-Windows unix platform where Homebrew is not supported.
Homebrew officially supports only macOS (darwin) and Linux, so the
check is tightened to an explicit allowlist of those two platforms.
Made-with: Cursor1 parent 042c117 commit 1ce56d4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
0 commit comments