Skip to content

Commit

Permalink
refactor: simplify error handling in complete_path method
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Jan 8, 2025
1 parent 2b18fac commit ccb8504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl Import {
}
}

fn complete_path(&self) -> Result<PathBuf, Box<dyn std::error::Error>> {
fn complete_path(&self) -> Result<PathBuf, Box<dyn Error>> {
let path = Path::new(&self.dump_file_path);

if path.is_absolute() {
Expand Down

0 comments on commit ccb8504

Please sign in to comment.