Skip to content

Commit

Permalink
fix ci lints
Browse files Browse the repository at this point in the history
  • Loading branch information
vlopes11 committed Sep 25, 2023
1 parent d5e81e2 commit e1ac5d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module-system/sov-modules-macros/src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ impl Manifest {

current_path = current_path.parent().ok_or_else(|| {
Self::err(
&current_path,
current_path,
parent,
format!("Could not find a parent `{manifest}`"),
)
})?;
}

let manifest = fs::read_to_string(&path)
.map_err(|e| Self::err(&current_path, parent, format!("failed to read file: {e}")))?;
.map_err(|e| Self::err(current_path, parent, format!("failed to read file: {e}")))?;

Self::read_str(manifest, path, parent)
}
Expand Down

0 comments on commit e1ac5d1

Please sign in to comment.