Skip to content

Commit

Permalink
Sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Sep 9, 2024
1 parent c18adb1 commit 5ff2dfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dylint/src/library_packages/cargo_cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ fn git_dependency_root(url: &str, details: &TomlDetailedDependency) -> Result<Pa
}
}

// smoelius: If we get here, it should be because `find_accessed_subdir` failed twice.
debug_assert!(errors.len() >= 2);

Err(anyhow!("Could not find git dependency root: {errors:#?}"))
}

Expand Down

0 comments on commit 5ff2dfe

Please sign in to comment.