summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-03-27 15:00:57 +0100
committermo8it <mo8it@proton.me>2024-03-27 15:00:57 +0100
commita27741b131a434a2af5884eb9690b2200a3f21e7 (patch)
tree61ced2dab1431e8cc7218cf9fb8e5f0abfa31a80 /src/run.rs
parent078f6ffc1cf18546079d03bee99f0903c9e14703 (diff)
parentb13bafa13e461f1a2f1f0b56adfb03e0519a8517 (diff)
Merge branch 'main' into performance
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();