🐛 do not copy when static dir does not exist
This commit is contained in:
parent
06dcc11214
commit
e7c9365456
1 changed files with 3 additions and 1 deletions
2
vss.v
2
vss.v
|
@ -90,7 +90,9 @@ fn build() ? {
|
|||
}
|
||||
|
||||
// copy static files
|
||||
if os.exists(defautl_static) {
|
||||
os.cp_all(defautl_static, dist, false)?
|
||||
}
|
||||
|
||||
template_content := os.read_file(default_template)?
|
||||
mut config_map := get_config_map()?
|
||||
|
|
Loading…
Add table
Reference in a new issue