chore: fmt

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-01 17:12:50 +02:00
parent aeaffb775e
commit af5d0f4af5
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
3 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@ use std::{
use clap::{Parser, Subcommand};
use cuddle_please_frontend::{gatheres::ConfigArgs, PleaseConfig, PleaseConfigBuilder};
use cuddle_please_misc::{
get_most_significant_version, ConsoleUi, DynRemoteGitClient, DynUi, GiteaClient, GlobalArgs,
LocalGitClient, NextVersion, RemoteGitEngine, StdinFn, VcsClient,
ConsoleUi, DynRemoteGitClient, DynUi, GiteaClient, GlobalArgs, LocalGitClient, StdinFn,
VcsClient,
};
use crate::{

View File

@ -1,6 +1,6 @@
use clap::Subcommand;
use cuddle_please_frontend::PleaseConfig;
use cuddle_please_misc::{get_most_significant_version, DynRemoteGitClient, DynUi, GiteaClient};
use cuddle_please_misc::{get_most_significant_version, DynRemoteGitClient, DynUi};
#[derive(Subcommand, Debug, Clone)]
pub enum GiteaCommand {
@ -39,7 +39,7 @@ impl GiteaCommandHandler {
}
}
pub fn execute(&self, command: &GiteaCommand, token: &str) -> anyhow::Result<()> {
pub fn execute(&self, command: &GiteaCommand, _token: &str) -> anyhow::Result<()> {
let owner = self.config.get_owner();
let repository = self.config.get_repository();

View File

@ -16,7 +16,7 @@ fn get_base_args<'a>() -> Vec<&'a str> {
]
}
const EXPECTED_OUTPUT: &'static str = r#"cuddle-config
const EXPECTED_OUTPUT: &str = r#"cuddle-config
PleaseConfig
owner: kjuulh
repository: cuddle-please