Skip to content

Commit 36163ae

Browse files
committed
std::fs -> tokio::fs
Signed-off-by: Brian L. Troutwine <[email protected]>
1 parent 507c4ef commit 36163ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lading/src/bin/lading.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,9 @@ telemetry:
888888

889889
let tmp_dir = tempfile::tempdir().expect("directory could not be created");
890890
let config_path = tmp_dir.path().join("config.yaml");
891-
std::fs::write(&config_path, contents).expect("Failed to write config file");
891+
tokio::fs::write(&config_path, contents)
892+
.await
893+
.expect("Failed to write config file");
892894

893895
let args = vec![
894896
"lading",

0 commit comments

Comments
 (0)