Avoid warning about bad Python interpreter links for empty project environment directories (#7527)

Someone reported this a while back (will try to find the issue), and I
ran into it working on #7522
This commit is contained in:
Zanie Blue 2024-09-19 06:49:35 -05:00 committed by GitHub
parent 4fdf5fc73f
commit 6b08aaecad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 48 additions and 21 deletions

View file

@ -78,6 +78,9 @@ pub enum Error {
#[error(transparent)]
MissingEnvironment(#[from] environment::EnvironmentNotFound),
#[error(transparent)]
InvalidEnvironment(#[from] environment::InvalidEnvironment),
}
// The mock interpreters are not valid on Windows so we don't have unit test coverage there