diff options
| author | mo8it <mo8it@proton.me> | 2024-03-26 17:48:06 +0100 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-03-26 17:48:06 +0100 |
| commit | f36efae25deee03cb6f98ce7fc1e59efb7e72985 (patch) | |
| tree | 6bf042358a7a264fd0954aae645ee883b1a9a564 | |
| parent | 853d0593d061119b042a45b602ff52af229dad83 (diff) | |
Only use arg instead of args AND arg
| -rw-r--r-- | src/run.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,7 +21,8 @@ pub fn run(exercise: &Exercise, verbose: bool) -> Result<(), ()> { // Resets the exercise by stashing the changes. pub fn reset(exercise: &Exercise) -> Result<(), ()> { let command = Command::new("git") - .args(["stash", "--"]) + .arg("stash") + .arg("--") .arg(&exercise.path) .spawn(); |
