Skip to content

Commit 26a5bc7

Browse files
committed
fixup wasm
1 parent d2dc3e0 commit 26a5bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store/mem.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,9 +756,9 @@ async fn import_byte_stream(
756756
}
757757

758758
#[cfg(wasm_browser)]
759-
async fn import_path(cmd: ImportPathMsg) -> anyhow::Result<ImportEntry> {
759+
async fn import_path(cmd: ImportPathMsg) -> Result<ImportEntry> {
760760
let _: ImportPathRequest = cmd.inner;
761-
Err(anyhow::anyhow!(
761+
Err(n0_error::anyerr!(
762762
"import_path is not supported in the browser"
763763
))
764764
}

0 commit comments

Comments
 (0)