Skip to content

Commit

Permalink
dont canonicalize path
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Oct 7, 2024
1 parent e6f771b commit 5556690
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions substrate/utils/frame/benchmarking-cli/src/pallet/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,6 @@ pub(crate) fn write_results(
benchmarks: results.clone(),
};

let file_path = fs::canonicalize(&file_path).map_err(|e| {
format!("Could not get absolute path for: {:?}. Error: {:?}", &file_path, e)
})?;
let mut output_file = fs::File::create(&file_path).map_err(|e| {
format!("Could not write weight file to: {:?}. Error: {:?}", &file_path, e)
})?;
Expand Down

0 comments on commit 5556690

Please sign in to comment.