mirror of https://github.com/astral-sh/uv
Fix macro typo (#11578)
This typo wasn't caught because the `($arg:expr, false)` macro branch was never exercised. For example, prior to this change, if you add ``` show_settings!(globals, false); ``` below, you'll get a compiler error.
This commit is contained in:
parent
90e9287dd8
commit
1bc7d93f4c
|
|
@ -1405,11 +1405,6 @@ async fn run_project(
|
|||
return Ok(ExitStatus::Success);
|
||||
}
|
||||
};
|
||||
($arg:expr, false) => {
|
||||
if globals.show_settings {#
|
||||
writeln!(printer.stdout(), "{:#?}", $arg)?;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
match *project_command {
|
||||
|
|
|
|||
Loading…
Reference in New Issue