Compare commits
2 commits
92ac0d0384
...
59461f38f6
| Author | SHA1 | Date | |
|---|---|---|---|
| 59461f38f6 | |||
| bdfec3e127 |
1 changed files with 3 additions and 2 deletions
|
|
@ -44,8 +44,9 @@ pub fn create_static_output_files(source_dir: &str) {
|
|||
}
|
||||
}
|
||||
Err(err) => {
|
||||
if err.kind() != NotFound {
|
||||
panic!("Unexpected error: {}", err)
|
||||
if err.kind() == NotFound {
|
||||
} else {
|
||||
Err(err).unwrap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue