diff --git a/src/cmd/fix.rs b/src/cmd/fix.rs index 29b76a9e..172fb0aa 100644 --- a/src/cmd/fix.rs +++ b/src/cmd/fix.rs @@ -106,7 +106,7 @@ pub enum Error { #[cfg(target_family = "windows")] fn cli_command() -> &'static str { - "PATH ; fossa.exe analyze -o" + r#"Env:Path = "" fossa.exe analyze -o"# } #[cfg(target_family = "unix")] diff --git a/src/cmd/run.rs b/src/cmd/run.rs index 7a4d4514..706e2390 100644 --- a/src/cmd/run.rs +++ b/src/cmd/run.rs @@ -136,7 +136,6 @@ struct ScanGitVCSReference { } impl ScanGitVCSReference { - /// Instantiate ScanGitVCSReference instance fn new(integration: &Integration, reference: &Reference) -> Self { Self { scan_id: Uuid::new_v4().to_string(), diff --git a/tests/it/snapshots/it__fix__with_failing_http_no_auth_integration_scan_windows.snap b/tests/it/snapshots/it__fix__with_failing_http_no_auth_integration_scan_windows.snap index a7de9954..073ea8ce 100644 --- a/tests/it/snapshots/it__fix__with_failing_http_no_auth_integration_scan_windows.snap +++ b/tests/it/snapshots/it__fix__with_failing_http_no_auth_integration_scan_windows.snap @@ -24,7 +24,7 @@ git clone -b master https://github.com/fossas/empty.git Once the download is complete, you can debug the issue by running the following command in directory of your downloaded integration: -PATH ; fossa.exe analyze -o +Env:Path = "" fossa.exe analyze -o Errors found while checking connection to FOSSA