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) => {
|
Err(err) => {
|
||||||
if err.kind() != NotFound {
|
if err.kind() == NotFound {
|
||||||
panic!("Unexpected error: {}", err)
|
} else {
|
||||||
|
Err(err).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue