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!( println!(
"Hello, world! {:?}", "Hello, world! {:?}",
update( update(
&opts.repo.unwrap(), &opts.repo.unwrap_or(PathBuf::from("repo")),
comments.take(opts.fetch).flatten(), comments.take(opts.fetch).flatten(),
&opts.redditor, &opts.redditor,
&("reddit.com/u/".to_owned() + &opts.redditor), &("reddit.com/u/".to_owned() + &opts.redditor),