diff --git a/src/bin/ion/commands/beta/mod.rs b/src/bin/ion/commands/beta/mod.rs index 8407468..d1b5284 100644 --- a/src/bin/ion/commands/beta/mod.rs +++ b/src/bin/ion/commands/beta/mod.rs @@ -39,7 +39,7 @@ pub fn run(_command_name: &str, matches: &ArgMatches<'static>) -> Result<()> { "The requested beta command ('{}') is not supported and clap did not generate an error message.", command_name ); - unreachable!(message); + unreachable!("{}", message); } Ok(()) } diff --git a/src/bin/ion/commands/beta/schema/mod.rs b/src/bin/ion/commands/beta/schema/mod.rs index daa8cf1..c87a406 100644 --- a/src/bin/ion/commands/beta/schema/mod.rs +++ b/src/bin/ion/commands/beta/schema/mod.rs @@ -35,7 +35,7 @@ pub fn run(_command_name: &str, matches: &ArgMatches<'static>) -> Result<()> { "The requested schema command ('{}') is not supported and clap did not generate an error message.", command_name ); - unreachable!(message); + unreachable!("{}", message); } Ok(()) } @@ -46,4 +46,4 @@ pub fn app() -> CommandConfig { "The 'schema' command is a namespace for commands that are related to schema sandbox", ) .subcommands(schema_subcommands()) -} \ No newline at end of file +} diff --git a/src/bin/ion/main.rs b/src/bin/ion/main.rs index 738c1ba..96a6d61 100644 --- a/src/bin/ion/main.rs +++ b/src/bin/ion/main.rs @@ -29,7 +29,7 @@ fn main() -> Result<()> { "The requested command ('{}') is not supported and clap did not generate an error message.", command_name ); - unreachable!(message); + unreachable!("{}", message); } Ok(()) }