Adapt `export-validator` to new setup

This commit is contained in:
Hanno Braun 2023-05-30 10:48:57 +02:00
parent 04e375790c
commit e6ddc88f01
1 changed files with 1 additions and 1 deletions

View File

@ -35,8 +35,8 @@ fn handle_model(model: String) -> Result<(), anyhow::Error> {
let export_file_path_str = export_file_path.to_str().unwrap();
let exit_status = Command::new("cargo")
.arg("run")
.args(["-p", &model])
.arg("--")
.arg(&model)
.args(["--export", export_file_path_str])
.status()?;
if !exit_status.success() {