Skip to content

Commit 8a14610

Browse files
bug: incorrect nil check on internal.FS
1 parent 549082a commit 8a14610

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)