Skip to content

Commit 7fd690c

Browse files
committed
style(natives): format inherited IPC cleanup
1 parent d94e0d8 commit 7fd690c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎crates/pi-natives/src/pty.rs‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,13 @@ fn run_pty_sync(
377377
cmd.env_remove(name);
378378
}
379379
// The filtered overlay omits IPC markers, but omission does not remove
380-
// `CommandBuilder`'s inherited values. Reuse the shell's platform casing rule.
380+
// `CommandBuilder`'s inherited values. Reuse the shell's platform casing
381+
// rule.
381382
for (key, _) in std::env::vars_os() {
382-
if key.to_str().is_some_and(pi_shell::shell::is_node_ipc_channel_var) {
383+
if key
384+
.to_str()
385+
.is_some_and(pi_shell::shell::is_node_ipc_channel_var)
386+
{
383387
cmd.env_remove(key);
384388
}
385389
}

0 commit comments

Comments
 (0)