diff --git a/tools/export-validator/src/main.rs b/tools/export-validator/src/main.rs index 5d3a3d9a2..5b6849e9b 100644 --- a/tools/export-validator/src/main.rs +++ b/tools/export-validator/src/main.rs @@ -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() {