~adnano/kiln-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH v2] templates.go: Resolve symlinks

Details
Message ID
<20220925134316.16966-1-edd@salkield.uk>
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 templates.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates.go b/templates.go
index 0fc7d94..786c084 100644
--- a/templates.go
+++ b/templates.go
@@ -108,7 +108,7 @@ func (t *Templates) Load(dir string, exts []string) error {
		if err != nil {
			return err
		}
		if d.Type().IsRegular() {
		if d.Type().IsRegular() || d.Type()&fs.ModeSymlink != 0 {
			if err := t.LoadTemplate(fsys, path); err != nil {
				return err
			}
-- 
2.37.3
Details
Message ID
<CN5K3OPKAJVA.1TLWXKWVKIJ33@framework>
In-Reply-To
<20220925134316.16966-1-edd@salkield.uk> (view parent)
DKIM signature
missing
Download raw message
Thanks!

To git@git.sr.ht:~adnano/kiln
   ff4d614..4b39c0b  master -> master
Reply to thread Export thread (mbox)