Skip to content

Conversation

@micprog
Copy link
Member

@micprog micprog commented Oct 6, 2025

Fixes #208

Comment on lines +63 to +65
Err(Error::new(format!(
"Dependency `{}` is not a git dependency, cannot clone.",
dep
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would consider a more instructive error message, I can see people getting very frustrated at this especially if they are new to Bender.

if local_file_str.contains("overrides:") {
let split = local_file_str.split('\n');
let test = split.clone().last().unwrap().is_empty();
let test = split.clone().next_back().unwrap().is_empty();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bender clone on Path Subdependencies Fails

3 participants