diff options
| author | Shulhan <ms@kilabit.info> | 2025-01-07 23:19:47 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-01-07 23:19:47 +0700 |
| commit | 67a080cd6d2b08a192ad4b6977358645616ddb65 (patch) | |
| tree | 988e180d73d670453c897b97f85dd579dac6cd2a | |
| parent | 9a03cfb3c4289b9af54246950c957265ee83ecc5 (diff) | |
| download | ciigo-67a080cd6d2b08a192ad4b6977358645616ddb65.tar.xz | |
all: fix GoEmbed that does not excludes options from ConvertOptions
| -rw-r--r-- | ciigo.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -296,9 +296,11 @@ func (ciigo *Ciigo) GoEmbed(embedOpts EmbedOptions) (err error) { ciigo.converter.convertFileMarkups(fileMarkups, convertForce) + var excludes = append(defExcludes, embedOpts.Exclude...) + var mfsOpts = &memfs.Options{ Root: embedOpts.Root, - Excludes: defExcludes, + Excludes: excludes, Embed: embedOpts.EmbedOptions, } |
