Commit b728361
committed
server(fix[tmux_bin]): use is not None guard, remove duplicate assignment
why: "if tmux_bin" is falsy-based and silently treats pathlib.Path("")
as None. "is not None" is more explicit and matches the type
annotation str | pathlib.Path | None.
what:
- Change guard from "if tmux_bin" to "if tmux_bin is not None"1 parent e8621b7 commit b728361
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments