provide default for repo
continuous-integration/drone/push Build is passing

This commit is contained in:
shimunn
2019-06-05 23:13:41 +02:00
committed by shimun
parent 69c4efc0fa
commit c68889b2db
+1 -1
View File
@@ -21,7 +21,7 @@ fn main() {
println!(
"Hello, world! {:?}",
update(
&opts.repo.unwrap(),
&opts.repo.unwrap_or(PathBuf::from("repo")),
comments.take(opts.fetch).flatten(),
&opts.redditor,
&("reddit.com/u/".to_owned() + &opts.redditor),