summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-03-27 14:18:20 +0100
committermo8it <mo8it@proton.me>2024-03-27 14:18:20 +0100
commit8e0f7e56f7118c90a948634a641b036a28a8d74a (patch)
treed01c434674058804158f82d393b7e5f0fc98e4f3 /src/run.rs
parent51b4c240ed006a8279bd94e9b7ed5df67086c86e (diff)
parent87ca05b4bb4436826a61bcbfe946a39a00f00be0 (diff)
Merge branch 'main' into which
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();