diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-28 07:24:31 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-28 07:24:31 +0000 |
| commit | e41126732fb75ec66a979c09544076ba92373680 (patch) | |
| tree | 48dfc278bf12fa28b08ee6c7334abda2d26b2b18 /grasp-audit/src | |
| parent | 37bd77778041a3350f8bfb65deb9dd6d1803e058 (diff) | |
audit: fix push test when not isolated
Diffstat (limited to 'grasp-audit/src')
| -rw-r--r-- | grasp-audit/src/fixtures.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grasp-audit/src/fixtures.rs b/grasp-audit/src/fixtures.rs index 23cea37..8cee964 100644 --- a/grasp-audit/src/fixtures.rs +++ b/grasp-audit/src/fixtures.rs | |||
| @@ -1199,7 +1199,7 @@ pub fn create_deterministic_commit(clone_path: &Path, _message: &str) -> Result< | |||
| 1199 | /// ``` | 1199 | /// ``` |
| 1200 | pub fn try_push(clone_path: &Path) -> Result<bool, String> { | 1200 | pub fn try_push(clone_path: &Path) -> Result<bool, String> { |
| 1201 | let output = Command::new("git") | 1201 | let output = Command::new("git") |
| 1202 | .args(["push", "origin", "main"]) | 1202 | .args(["push", "origin", "main", "--force"]) |
| 1203 | .current_dir(clone_path) | 1203 | .current_dir(clone_path) |
| 1204 | .env("GIT_TERMINAL_PROMPT", "0") | 1204 | .env("GIT_TERMINAL_PROMPT", "0") |
| 1205 | .output() | 1205 | .output() |