mirror of
https://github.com/SkyfallWasTaken/dinopkg.git
synced 2025-05-23 04:53:07 +00:00
AuthorObjOrString -> AuthorVariant
This commit is contained in:
parent
f79cdc95b8
commit
2181a82cb8
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ use camino::Utf8PathBuf;
|
|||
use color_eyre::eyre::eyre;
|
||||
use color_eyre::Result;
|
||||
use dialoguer::{theme::ColorfulTheme, Confirm, Input};
|
||||
use dinopkg_package_json::{AuthorObjOrString, PackageJson};
|
||||
use dinopkg_package_json::{AuthorVariant, PackageJson};
|
||||
use gix_config::File as GitConfigFile;
|
||||
use maplit::hashmap;
|
||||
use owo_colors::OwoColorize;
|
||||
|
@ -100,7 +100,7 @@ pub async fn init() -> Result<()> {
|
|||
let package_json = PackageJson {
|
||||
name: package_name,
|
||||
version,
|
||||
author: Some(AuthorObjOrString::String(author)),
|
||||
author: Some(AuthorVariant::String(author)),
|
||||
repository: Some(git_repository),
|
||||
license: Some(license),
|
||||
description: Some(description),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue