mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-04-22 05:12:24 +00:00
Merge pull request #101 from paritytech/fix-output
Fix not saving raw module when no constructor specified
This commit is contained in:
commit
19ce379f64
@ -178,6 +178,8 @@ fn do_main() -> Result<(), Error> {
|
|||||||
&path,
|
&path,
|
||||||
ctor_module,
|
ctor_module,
|
||||||
).map_err(Error::Encoding)?;
|
).map_err(Error::Encoding)?;
|
||||||
|
} else {
|
||||||
|
parity_wasm::serialize_to_file(&path, module).map_err(Error::Encoding)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user