Skip to content

Commit

Permalink
show some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Dec 14, 2023
1 parent 1765f52 commit 1011100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn cargo_pid() -> Option<Pid> {
sys.refresh_process_specifics(ppid, what);
let parent = sys.process(ppid)?;
let parent_exe = parent.exe();
let parent_file_name = parent_exe.file_name()?;
let parent_file_name = dbg!(parent_exe.file_name()?);
if parent_file_name == OsStr::new("cargo") || parent_file_name == OsStr::new("cargo-nextest") {
Some(parent.pid())
} else if parent_file_name == OsStr::new("rustdoc") {
Expand Down

0 comments on commit 1011100

Please sign in to comment.