Skip to content

Commit f36efae

Browse files
committed
Only use arg instead of args AND arg
1 parent 853d059 commit f36efae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/run.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ pub fn run(exercise: &Exercise, verbose: bool) -> Result<(), ()> {
2121
// Resets the exercise by stashing the changes.
2222
pub fn reset(exercise: &Exercise) -> Result<(), ()> {
2323
let command = Command::new("git")
24-
.args(["stash", "--"])
24+
.arg("stash")
25+
.arg("--")
2526
.arg(&exercise.path)
2627
.spawn();
2728

0 commit comments

Comments
 (0)