summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-03-27 14:30:10 +0100
committermo8it <mo8it@proton.me>2024-03-27 14:30:10 +0100
commitb9d2756ce8093adb1a2e5a2ddc45bd07f1322f42 (patch)
tree200b890941938bf930a344a97ff3a9cfdcc3be45 /src/run.rs
parente4520602f52935ff310534afc65160bcc5796a97 (diff)
parent07dec76f7c7f90d0768d2f5d9990e0b06019e0cd (diff)
Merge branch 'main' into toml
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index e0ada4c..6dd0388 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -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();