Skip to content

Commit

Permalink
fix: pass vars to render files[].src (#3194)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Oct 24, 2024
1 parent 6f618f5 commit 716d9ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ func (p *Package) renderSrc(assetName string, file *registry.File, rt *runtime.R
"FileName": file.Name,
"Asset": assetName,
"AssetWithoutExt": assetWithoutExt,
"Vars": pkg.Vars,
})
if err != nil {
return "", err //nolint:wrapcheck
Expand Down

0 comments on commit 716d9ac

Please sign in to comment.