Don't show deprecated warning in uvx --isolated (#5798)

## Summary

An oversight.
This commit is contained in:
Charlie Marsh 2024-08-05 16:32:22 -04:00 committed by GitHub
parent 33ec6f063d
commit 801797e7bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ async fn run(cli: Cli) -> Result<ExitStatus> {
match &*cli.command {
// Supports `--isolated` as its own argument, so we can't warn either way.
Commands::Tool(ToolNamespace {
command: ToolCommand::Run(_),
command: ToolCommand::Uvx(_) | ToolCommand::Run(_),
}) => false,
// Supports `--isolated` as its own argument, so we can't warn either way.