fix(uplc): pair type formatting closes #680

This commit is contained in:
rvcas
2023-07-19 13:49:05 -04:00
parent 1d1403816a
commit be7a441205
3 changed files with 28 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ impl Config {
}
pub fn insert(mut self, dependency: &Dependency, and_replace: bool) -> Option<Self> {
for mut existing in self.dependencies.iter_mut() {
for existing in self.dependencies.iter_mut() {
if existing.name == dependency.name {
return if and_replace {
existing.version = dependency.version.clone();