aboutsummaryrefslogtreecommitdiff
path: root/src/generator/static_files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/generator/static_files.rs')
-rw-r--r--src/generator/static_files.rs13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/generator/static_files.rs b/src/generator/static_files.rs
index 401eacf..8c55de3 100644
--- a/src/generator/static_files.rs
+++ b/src/generator/static_files.rs
@@ -1,11 +1,16 @@
-use std::io::Result;
-use std::path::PathBuf;
use crate::template::TemplateContext;
use crate::utils::recursively_copy;
+use std::io::Result;
+use std::path::PathBuf;
-pub fn generate(source: &PathBuf, _: &PathBuf, target: &PathBuf, _: &TemplateContext) -> Result<()> {
+pub fn generate(
+ source: &PathBuf,
+ _: &PathBuf,
+ target: &PathBuf,
+ _: &TemplateContext,
+) -> Result<()> {
if source.exists() {
- return recursively_copy(source, target)
+ return recursively_copy(source, target);
}
Ok(())
}