Update SubstrateCli to return String (#6550)

* Update SubstrateCli to return String

* Add default implementation for executable_name()

* Use display instead of PathBuf

* Get file_name in default impl of executable_name

* Remove String::from and use .into()

* Use default impl for executable_name()

* Use .as_str() and remove useless .to_string()

* Update only sp-io when running companion build

* Remove unneeded update of sp-io in CI

Co-authored-by: Cecile Tonglet <cecile@parity.io>
This commit is contained in:
pscottandCecile Tonglet authored and GitHub committed 2020-07-02 13:34:56 +02:00
1 parent 7b0028d75a
commit 540ae1c161
10 files changed
+65 -62

No files matched your search

+2 -2
View File
@@ -229,8 +229,8 @@ fn node_config<G: RuntimeGenesis + 'static, E: ChainSpecExtension + Clone + 'sta
};
Configuration {
impl_name: "network-test-impl",
impl_version: "0.1",
impl_name: String::from("network-test-impl"),
impl_version: String::from("0.1"),
role,
task_executor,
transaction_pool: Default::default(),