Skip to content

Commit 86bfd69

Browse files
authored
Merge pull request #15 from miacio/feature_v1.0.8
emergency repair condition judgment logic reverse operation causing i…
2 parents f4fdf62 + 233902c commit 86bfd69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/web.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ func (c *Engine) LoadHTMLFolders(folders []string, suffix string) {
4747
for _, folder := range folders {
4848
inFiles, err := util.FileFindAllFileChildren(folder, suffix)
4949
if err != nil {
50-
files = append(files, inFiles...)
50+
continue
5151
}
52+
files = append(files, inFiles...)
5253
}
5354
files = util.SliceDistinct(files...)
5455
if files != nil {

0 commit comments

Comments
 (0)