Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jan 18, 2020
1 parent 9b9fe70 commit 89be226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libchisel/src/remapimports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<'a> ModuleConfig for RemapImports<'a> {
if let Some(preset) = config.get("preset") {
RemapImports::with_preset(preset)
} else {
Err(ModuleError::NotSupported)
Err(ModuleError::MissingConfigKey("preset".to_string()))
}
}
}
Expand Down Expand Up @@ -73,7 +73,7 @@ impl<'a> ModulePreset for RemapImports<'a> {
ImportList::with_preset("bignum")?,
Some("bignum_"),
)),
_ => return Err(ModuleError::NotSupported),
_ => return Err(ModuleError::InvalidConfigValue("preset".to_string(), preset_individual.to_string())),
}
}

Expand Down

0 comments on commit 89be226

Please sign in to comment.