fix(test_utils): remove cmd alias for std::process::Command (#1981)

This commit is contained in:
Pa1NarK
2023-08-22 19:43:17 +05:30
committed by GitHub
parent 064d915884
commit c161530a6c

View File

@ -1,6 +1,6 @@
use std::{
env,
process::{exit, Command as cmd},
process::{exit, Command},
};
use clap::{arg, command, Parser};
@ -45,7 +45,7 @@ fn main() {
// been added to the postman collection, those conditions are set to true and collections that have
// variables set up for certificate, will consider those variables and will fail.
let mut newman_command = cmd::new("newman");
let mut newman_command = Command::new("newman");
newman_command.args(["run", &collection_path]);
newman_command.args(["--env-var", &format!("admin_api_key={admin_api_key}")]);
newman_command.args(["--env-var", &format!("baseUrl={base_url}")]);