Skip to content

Commit debdbd7

Browse files
mark-i-mXAMPPRocky
andcommitted
Apply suggestion
Co-Authored-By: XAMPPRocky <[email protected]>
1 parent 993750d commit debdbd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blacksmith/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl Blacksmith {
153153
log::trace!("Redirecting {} to {}.", filename, url);
154154

155155
if let Some(parent) = Path::new(filename).parent() {
156-
std::fs::create_dir_all(parent).unwrap();
156+
std::fs::create_dir_all(dir.join(parent)).unwrap();
157157
}
158158

159159
std::fs::write(dir.join(filename), template).unwrap();

0 commit comments

Comments
 (0)