🎨 Ignore hidden files loading into asset cache
This commit is contained in:
parent
a5ddeaddcd
commit
428c34c931
1 changed files with 1 additions and 1 deletions
2
kernel/cache/asset.go
vendored
2
kernel/cache/asset.go
vendored
|
@ -82,7 +82,7 @@ func LoadAssets() {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
if strings.HasSuffix(info.Name(), ".sya") || strings.HasPrefix(info.Name(), ".") {
|
||||
if strings.HasSuffix(info.Name(), ".sya") || strings.HasPrefix(info.Name(), ".") || filelock.IsHidden(path) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue