diff --git a/parachain-template/node/src/command.rs b/parachain-template/node/src/command.rs index 735af3e42ab..d1eebd127d8 100644 --- a/parachain-template/node/src/command.rs +++ b/parachain-template/node/src/command.rs @@ -348,7 +348,7 @@ impl CliConfiguration for RelayChainCli { fn base_path(&self) -> Result> { Ok(self .shared_params() - .base_path() + .base_path()? .or_else(|| self.base_path.clone().map(Into::into))) } diff --git a/polkadot-parachain/src/command.rs b/polkadot-parachain/src/command.rs index 18050c037bf..e07a8cfed54 100644 --- a/polkadot-parachain/src/command.rs +++ b/polkadot-parachain/src/command.rs @@ -781,7 +781,7 @@ impl CliConfiguration for RelayChainCli { fn base_path(&self) -> Result> { Ok(self .shared_params() - .base_path() + .base_path()? .or_else(|| self.base_path.clone().map(Into::into))) } diff --git a/test/service/src/cli.rs b/test/service/src/cli.rs index 43065160872..40b63798856 100644 --- a/test/service/src/cli.rs +++ b/test/service/src/cli.rs @@ -137,7 +137,7 @@ impl CliConfiguration for RelayChainCli { fn base_path(&self) -> CliResult> { Ok(self .shared_params() - .base_path() + .base_path()? .or_else(|| self.base_path.clone().map(Into::into))) }