refactor: rename content source dir
This commit is contained in:
parent
b30cfd810a
commit
a1ad036fa9
2 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ use walkdir::WalkDir;
|
|||
|
||||
fn main() {
|
||||
let src_dir = {
|
||||
let def = || OsString::from("./source/");
|
||||
let def = || OsString::from("./content/");
|
||||
let var = std::env::var_os("SOURCE_DIR").unwrap_or_else(def);
|
||||
PathBuf::from(var)
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue