Skip to content

Commit 8392967

Browse files
committed
fix: remove unused getEmbeddedSubFS function to fix golangci-lint error
1 parent a9a989b commit 8392967

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

internal/static/assets.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ func SetEmbeddedFS(efs embed.FS) {
2727
embeddedFSSet = true
2828
}
2929

30-
// getEmbeddedSubFS returns a sub-filesystem for the themes directory
31-
func getEmbeddedSubFS() (fs.FS, error) {
32-
if !embeddedFSSet {
33-
return nil, fs.ErrNotExist
34-
}
35-
return fs.Sub(embeddedFS, "themes/2025")
36-
}
37-
3830
func themeCandidates(cfg *config.ConfigManager) []string {
3931
var candidates []string
4032
seen := make(map[string]struct{})

0 commit comments

Comments
 (0)