We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 186e649 commit ffb90bbCopy full SHA for ffb90bb
src/renderer/html_handlebars/hbs_renderer.rs
@@ -245,6 +245,10 @@ impl HtmlHandlebars {
245
246
for custom_file in custom_files {
247
let output_location = destination.join(custom_file);
248
+ if let Some(parent) = output_location.parent() {
249
+ fs::create_dir_all(parent)
250
+ .chain_err(|| format!("Unable to create {}", parent.display()))?;
251
+ }
252
debug!(
253
"Copying {} -> {}",
254
custom_file.display(),
0 commit comments