Skip to content

Commit 9cff470

Browse files
author
Andrew
committed
Stage 6
1 parent 68e805e commit 9cff470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc_lib/src/discovery/command_discovery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ fn save_adapted_resources_lookup_table(lookup_table: &HashMap<String, String>)
549549
if let Ok(lookup_table_json) = serde_json::to_string_pretty(&lookup_table) {
550550
let file_path = get_lookup_table_file_path();
551551
debug!("Saving lookup table with {} items to {:?}", lookup_table.len(), file_path);
552-
fs::write(file_path, lookup_table_json).expect("Unable to write lookup_table file");
552+
fs::write(file_path.clone(), lookup_table_json).expect(&format!("Unable to write lookup_table file {:?}", file_path).to_string());
553553
}
554554
}
555555

0 commit comments

Comments
 (0)