Fixes bug in wasm-builder with cargo publish (#7299)

* Fixes bug in wasm-builder with cargo publish

There was a bug in wasm-builder which resulted in generating a
`Cargo.lock` in the project directory because of running `cargo
metadata`. This resulted in commands like `cargo publish` to fail (if
there was no `Cargo.lock` before building), because it checks that the
project directory isn't modified.

* Update utils/wasm-builder/src/wasm_project.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
Bastian Köcher
2020-10-12 12:29:53 +02:00
committed by GitHub
parent 5172777c7d
commit 1a01bca647
10 changed files with 42 additions and 23 deletions
+1 -1
View File
@@ -8906,7 +8906,7 @@ dependencies = [
[[package]]
name = "substrate-wasm-builder"
version = "2.0.0"
version = "2.0.1"
dependencies = [
"ansi_term 0.12.1",
"atty",