Seperate between internal and external conversion
This commit is contained in:
@@ -18,7 +18,7 @@ struct CommandLine {
|
||||
|
||||
fn parse_input(input: Option<PathBuf>) -> Result<OverlayDesc, Error> {
|
||||
if let Some(input) = input {
|
||||
let input = format_if_error!(open_input(Some(input)), "Opening input file failed with: {error_text}")?;
|
||||
let input = format_if_error!(open_input(&Some(input)), "Opening input file failed with: {error_text}")?;
|
||||
format_if_error!(mkoverlay::types::json_reader::read_config(input), "Parsing JSON file failed with: {error_text}")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user