mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-28 18:54:10 +00:00
Skip files when detecting workspace members (#5735)
## Summary Closes https://github.com/astral-sh/uv/issues/5724. Closes https://github.com/astral-sh/uv/issues/5725.
This commit is contained in:
parent
4096bcef3e
commit
097aa929b7
2 changed files with 8 additions and 0 deletions
|
|
@ -565,6 +565,14 @@ impl Workspace {
|
|||
member_glob.to_string(),
|
||||
));
|
||||
}
|
||||
// If the entry is _not_ a directory, skip it.
|
||||
Err(_) if !member_root.is_dir() => {
|
||||
warn!(
|
||||
"Ignoring non-directory workspace member: `{}`",
|
||||
member_root.simplified_display()
|
||||
);
|
||||
continue;
|
||||
}
|
||||
Err(err) => return Err(err.into()),
|
||||
};
|
||||
|
||||
|
|
|
|||
0
scripts/workspaces/albatross-root-workspace/packages/.gitignore
vendored
Normal file
0
scripts/workspaces/albatross-root-workspace/packages/.gitignore
vendored
Normal file
Loading…
Add table
Add a link
Reference in a new issue