diff --git a/src/command/config.rs b/src/command/config.rs index 8db715d..5d1827a 100644 --- a/src/command/config.rs +++ b/src/command/config.rs @@ -29,7 +29,7 @@ pub(crate) enum ConfigError { Validate(#[from] validate::ValidationError), } -pub(crate) async fn run(command: Commands) -> Result<(), ConfigError> { +pub(super) async fn run(command: Commands) -> Result<(), ConfigError> { match command { Commands::Update { revision } => update::run(revision).await?, Commands::Validate => validate::run()?, diff --git a/src/command/mod.rs b/src/command/mod.rs index 65a867e..98717d2 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -27,7 +27,7 @@ enum Commands { Config(config::Commands), } -pub(crate) async fn run() -> Result<(), Error> { +pub(super) async fn run() -> Result<(), Error> { let args = Args::parse(); match args.command {