forked from kemitix/git-next
feat(config): use accesors for hostname and user
This commit is contained in:
parent
3c4a0d52b1
commit
be01d106a4
1 changed files with 4 additions and 4 deletions
|
@ -147,8 +147,8 @@ impl From<(&ForgeName, &Forge)> for ForgeDetails {
|
|||
Self {
|
||||
name: forge.0.clone(),
|
||||
forge_type: forge.1.forge_type.clone(),
|
||||
hostname: Hostname(forge.1.hostname.clone()),
|
||||
user: User(forge.1.user.clone()),
|
||||
hostname: forge.1.hostname(),
|
||||
user: forge.1.user(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -189,8 +189,8 @@ impl RepoDetails {
|
|||
forge: ForgeDetails {
|
||||
name: forge_name.clone(),
|
||||
forge_type: forge.forge_type.clone(),
|
||||
hostname: Hostname(forge.hostname.clone()),
|
||||
user: User(forge.user.clone()),
|
||||
hostname: forge.hostname(),
|
||||
user: forge.user(),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue