mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
Fix errors when compiling node-template (#4115)
This commit is contained in:
committed by
Bastian Köcher
parent
9e85e21993
commit
0d658ab286
@@ -13,4 +13,4 @@ fi
|
||||
PATH_TO_ARCHIVE=$(pwd)/$1
|
||||
cd $PROJECT_ROOT/.maintain/node-template-release
|
||||
|
||||
cargo run $PROJECT_ROOT/node-template $PATH_TO_ARCHIVE
|
||||
cargo run $PROJECT_ROOT/bin/node-template $PATH_TO_ARCHIVE
|
||||
|
||||
@@ -88,7 +88,7 @@ fn replace_path_dependencies_with_git(cargo_toml_path: &Path, commit_id: &str, c
|
||||
// remove `Cargo.toml`
|
||||
cargo_toml_path.pop();
|
||||
|
||||
for table in &["dependencies", "build-dependencies"] {
|
||||
for &table in &["dependencies", "build-dependencies"] {
|
||||
let mut dependencies: toml::value::Table = match cargo_toml
|
||||
.remove(table)
|
||||
.and_then(|v| v.try_into().ok()) {
|
||||
|
||||
Reference in New Issue
Block a user