You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dcd026a
Browse filesBrowse the repository at this point in the historyBrowse files
fix: harden ZDOTDIR guard, PowerShell detection, abort handling, and test robustness (Zoo-Code-Org#321)
- Terminal: gate ZDOTDIR skip on getProfileShell() instead of
getTerminalProfile() so unresolvable profiles (missing/removed/
source-only) still receive ZDOTDIR injection when VS Code cannot
provide it.
- Terminal: restrict isActiveShellPowerShell PATH probing to
PowerShell-identified source-only profiles to avoid false
positives from non-PowerShell profiles (e.g. Git Bash).
- Task: guard against undefined askResponse after pWaitFor exits
via this.abort to prevent null reference on task cancellation.
- E2E: demote shell_integration_warning assertion from hard-fail to
console.warn — the warning is a transient timing artefact from
shell integration fallback, not a test failure.
- Test: replace direct static method assignment with vi.spyOn in
Terminal.spec.ts so vi.restoreAllMocks() can properly restore
original implementations between suites.
- Test: add parameter signature to vi.fn callback in
ExecaTerminalProcess.spec.ts to fix TS "Expected 0 arguments"
type error.
0 commit comments