Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Sep 1, 2022
1 parent 3fb9c8a commit 8bf3030
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parachain-template/node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ impl CliConfiguration<Self> for RelayChainCli {
fn base_path(&self) -> Result<Option<BasePath>> {
Ok(self
.shared_params()
.base_path()
.base_path()?
.or_else(|| self.base_path.clone().map(Into::into)))
}

Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachain/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ impl CliConfiguration<Self> for RelayChainCli {
fn base_path(&self) -> Result<Option<BasePath>> {
Ok(self
.shared_params()
.base_path()
.base_path()?
.or_else(|| self.base_path.clone().map(Into::into)))
}

Expand Down
2 changes: 1 addition & 1 deletion test/service/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl CliConfiguration<Self> for RelayChainCli {
fn base_path(&self) -> CliResult<Option<BasePath>> {
Ok(self
.shared_params()
.base_path()
.base_path()?
.or_else(|| self.base_path.clone().map(Into::into)))
}

Expand Down

0 comments on commit 8bf3030

Please sign in to comment.