We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2df24cf commit f424021Copy full SHA for f424021
crates/rrfd/src/lib.rs
@@ -77,7 +77,7 @@ pub async fn save_file(default_name: &str, data: Vec<u8>) -> Result<(), PickFile
77
tokio::fs::write(file.path(), data).await?;
78
79
#[cfg(target_family = "wasm")]
80
- file.write(&data);
+ file.write(&data).await?;
81
82
Ok(())
83
}
0 commit comments