Browse Source

Ensured linter checks pass

pull/60/head
Daniel Levin 2 months ago
parent
commit
51f2183357
  1. 1
      git-repository/src/init.rs
  2. 4
      src/porcelain/lean.rs

1
git-repository/src/init.rs

@ -95,7 +95,6 @@ fn create_dir(p: &Path) -> Result<(), Error> {
}
pub fn repository(directory: Option<PathBuf>) -> Result<(), Error> {
let mut cursor = match directory {
Some(dir) => PathBuf::from(dir),
None => PathBuf::from(""),

4
src/porcelain/lean.rs

@ -78,9 +78,7 @@ pub fn main() -> Result<()> {
git_features::interrupt::init_handler(std::io::stderr());
match cli.subcommand {
SubCommands::Init(Init {
directory
}) => core::repository::init(directory),
SubCommands::Init(Init { directory }) => core::repository::init(directory),
#[cfg(feature = "gitoxide-core-organize")]
SubCommands::Find(Find { root }) => {
use crate::shared::lean::prepare;

Loading…
Cancel
Save