diff --git a/cli/src/command.rs b/cli/src/command.rs index c641a29f8239..64a10c9a1fd9 100644 --- a/cli/src/command.rs +++ b/cli/src/command.rs @@ -420,8 +420,10 @@ pub fn run() -> Result<()> { if chain_spec.is_kusama() { return runner.async_run(|config| { Ok(( - cmd.run::(config) - .map_err(Error::SubstrateCli), + cmd.run::( + config, + ) + .map_err(Error::SubstrateCli), task_manager, )) }) @@ -431,7 +433,7 @@ pub fn run() -> Result<()> { if chain_spec.is_westend() { return runner.async_run(|config| { Ok(( - cmd.run::( + cmd.run::( config, ) .map_err(Error::SubstrateCli), @@ -442,8 +444,10 @@ pub fn run() -> Result<()> { // else we assume it is polkadot. runner.async_run(|config| { Ok(( - cmd.run::(config) - .map_err(Error::SubstrateCli), + cmd.run::( + config, + ) + .map_err(Error::SubstrateCli), task_manager, )) })