Skip to content

Commit

Permalink
copy static directory if there is no ignored globset
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymi306 committed Jul 29, 2023
1 parent 44dd217 commit 3008499
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/site/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,8 @@ impl Site {
self.config.hard_link_static,
gs,
)?;
} else {
copy_directory(&self.static_path, &self.output_path, self.config.hard_link_static)?;
}
}

Expand Down

0 comments on commit 3008499

Please sign in to comment.