From e68fcf3e522fc055c1a42ad10ac24c97ee068742 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 31 Mar 2021 18:57:50 +0200 Subject: [PATCH] settings: blacklist isn't required --- src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.rs b/src/settings.rs index 8dc71f9..ef55940 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -12,6 +12,6 @@ pub(crate) struct GlobalSettings { pub additional_remotes: Vec, /// List of regexes, if a repository's name matches any of the, it is not mirrored by `lohr` /// even if it contains a `.lorh` file. - #[serde(with = "serde_regex")] + #[serde(with = "serde_regex", default)] pub blacklist: Vec, }