Serialize to wasm during wasm compare.
This commit is contained in:
@@ -36,8 +36,6 @@ async fn main_body() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let args = std::env::args().skip(1);
|
||||
if args.is_empty() {
|
||||
let org_contents = read_stdin_to_string()?;
|
||||
// let wasm_result = wasm_parse_org(org_contents.as_str());
|
||||
// println!("{}", serde_json::to_string(&wasm_result)?);
|
||||
if wasm_run_anonymous_compare(org_contents).await? {
|
||||
} else {
|
||||
Err("Diff results do not match.")?;
|
||||
|
||||
Reference in New Issue
Block a user