Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion crates/brioche/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ impl clap::builder::TypedValueParser for ProjectRefsParser {
// First check if it's a local path, then a registry name
let source = if project_part.is_empty() {
ProjectSource::Local(PathBuf::from("."))
} else if project_part.starts_with("./")
} else if project_part == "."
|| project_part == ".."
|| project_part.starts_with("./")
|| project_part.starts_with("../")
|| project_part.starts_with('/')
{
Expand Down