mirror of
https://github.com/Noratrieb/website.git
synced 2026-01-15 01:15:02 +01:00
clippy fix
This commit is contained in:
parent
2da77e8af5
commit
d0b410a6b3
4 changed files with 14 additions and 14 deletions
|
|
@ -11,14 +11,14 @@ pub fn build(blog: &Path, dist: &Path) -> Result<()> {
|
|||
|
||||
utils::run_process(
|
||||
Command::new("git")
|
||||
.args(&["submodule", "init"])
|
||||
.current_dir(&blog),
|
||||
.args(["submodule", "init"])
|
||||
.current_dir(blog),
|
||||
)?;
|
||||
|
||||
utils::run_process(
|
||||
Command::new("git")
|
||||
.args(&["submodule", "update"])
|
||||
.current_dir(&blog),
|
||||
.args(["submodule", "update"])
|
||||
.current_dir(blog),
|
||||
)?;
|
||||
|
||||
// Patch config
|
||||
|
|
@ -29,8 +29,8 @@ pub fn build(blog: &Path, dist: &Path) -> Result<()> {
|
|||
|
||||
utils::run_process(
|
||||
Command::new("hugo")
|
||||
.args(&["--minify", "--destination", dist.to_str().unwrap()])
|
||||
.current_dir(&blog),
|
||||
.args(["--minify", "--destination", dist.to_str().unwrap()])
|
||||
.current_dir(blog),
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue