Files
moltbot/scripts
Sarah Fortune d06f0a0ee7 fix(install): don't abort install.ps1 when git writes to stderr (#80834)
PowerShell 7+ honors $ErrorActionPreference=Stop for native commands,
so git's normal progress line ("From https://...") on stderr during
`git pull --rebase` would turn into a terminating error and abort the
installer immediately after a fresh clone — before pnpm install/build
ever runs. The existing `2>$null` redirects the display but the error
record is still generated.

Wrap the git status / pull calls in try/catch so the pull stays
best-effort and the rest of the installer can proceed. Reproduced on
Windows 11 ARM under PowerShell 7.x with -InstallMethod git.
2026-05-12 17:26:30 -07:00
..
2026-05-12 08:28:28 +01:00
2026-04-20 15:48:20 +01:00
2026-05-03 13:20:26 +01:00
2026-04-08 00:09:07 +01:00
2026-04-10 20:56:43 +01:00
2026-05-02 18:29:13 +01:00
2026-04-06 19:52:42 +01:00
2026-05-03 12:56:52 +01:00
2026-05-03 12:20:52 +01:00