aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-11-16 15:26:19 +0100
committerBond_009 <bond.009@outlook.com>2020-11-16 15:26:19 +0100
commit256f1f305fc47b06d470abf66dc3dfdcd1d6b790 (patch)
tree43f167c5795873ab933af9d932102de076cbcd5b /src/config.rs
parent5f2f7e824f0af2550f2a3d52dfbbe5ea7fba6499 (diff)
Use upstream repo name when no name is specified
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 4de9021..39b0377 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -8,7 +8,7 @@ pub struct Config {
#[derive(Deserialize)]
pub struct ProjectConfig {
- pub name: String,
+ pub name: Option<String>,
pub path: Option<String>,
pub url: String,
pub description: Option<String>,