Skip to content

Commit

Permalink
Require that stdin extraction has an output path
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamVenner committed Oct 1, 2023
1 parent 65c1124 commit cba7a19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fastgmad-lib/src/extract/conf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ impl ExtractGmaConfig {
if !dir.exists() || dir.is_dir() {
config.out = dir;
}
} else {
return Err(PrintHelp(Some("Please provide an output path")));
}
}

Expand Down

0 comments on commit cba7a19

Please sign in to comment.