Skip to content

Commit 5358aa6

Browse files
Merge pull request #581 from ibuildthecloud/main
bug: incorrect nil check on internal.FS
2 parents 549082a + 8a14610 commit 5358aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/embedded/embed.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type Options struct {
1515

1616
func Run(opts ...Options) bool {
1717
for _, opt := range opts {
18-
if opt.FS == nil {
18+
if opt.FS != nil {
1919
internal.FS = opt.FS
2020
}
2121
}

0 commit comments

Comments
 (0)