Skip to content

Commit

Permalink
fix(ssg): 🐛 fix fornatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Sep 9, 2024
1 parent 4a9384e commit 666a489
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
7 changes: 1 addition & 6 deletions src/compiler/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ use crate::{
write::write_files_to_build_directory,
},
};
use std::{
collections::HashMap,
error::Error,
fs,
path::Path,
};
use std::{collections::HashMap, error::Error, fs, path::Path};

/// Compiles files in a source directory, generates HTML pages from them, and
/// writes the resulting pages to an output directory. Also generates an index
Expand Down
9 changes: 2 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,18 @@
)]
#![crate_name = "ssg"]
#![crate_type = "lib"]
use anyhow::Result;
use crate::{
compiler::service::compile, languages::translate,
loggers::init_logger, server::serve::start,
utilities::uuid::generate_unique_string,
};
use anyhow::Result;
use cmd::cli::print_banner;
use dtt::datetime::DateTime;
use rlg::{log_format::LogFormat, log_level::LogLevel, macro_log};
use std::{
error::Error,
fs::File,
path::Path,
};
use std::io;
use std::io::Write;

use std::{error::Error, fs::File, path::Path};

/// The `cmd` module contains functions for the command-line interface.
pub mod cmd;
Expand Down

0 comments on commit 666a489

Please sign in to comment.