Commit 60a6e5c
committed
Fix truthiness check dropping null worktreePath from launch context
When launchContext exists with worktreePath: null, the truthiness check
(launchContext?.worktreePath) incorrectly falls through to the server
thread's worktreePath. This creates an inconsistency where cwd comes
from the launch context but worktreePath comes from the server thread.
Fix by checking for the existence of launchContext itself, so that a
null worktreePath is correctly preserved from the launch context.1 parent 1b1f688 commit 60a6e5c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
0 commit comments