Skip to content

Commit

Permalink
unwrap_or_default for Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-valerio committed Sep 2, 2024
1 parent c687eb4 commit d3ad52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub fn main() {

fn handle_cli() -> anyhow::Result<()> {
let cli = Cli::parse();
let config: Configuration = Configuration::try_from(&cli.config).unwrap();
let config: Configuration = Configuration::try_from(&cli.config).unwrap_or_default();

match cli.command {
Commands::Instrument(contract_path) => {
Expand Down

0 comments on commit d3ad52c

Please sign in to comment.