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 export_file_path_str = export_file_path.to_str().unwrap();
let exit_status = Command::new("cargo") let exit_status = Command::new("cargo")
.arg("run") .arg("run")
.args(["-p", &model])
.arg("--") .arg("--")
.arg(&model)
.args(["--export", export_file_path_str]) .args(["--export", export_file_path_str])
.status()?; .status()?;
if !exit_status.success() { if !exit_status.success() {