Clean Source Paths Only

This commit is contained in:
2026-04-21 19:24:44 +02:00
parent 899534e9cd
commit 85e98acc45
2 changed files with 5 additions and 1 deletions
+5 -1
View File
@@ -233,7 +233,11 @@ func (p *Project) SourceDir() string {
}
func (p *Project) AssetsDir() string {
return filepath.Join(p.Root, p.Config.Paths.Assets)
assets := strings.TrimSpace(p.Config.Paths.Assets)
if assets == "" {
return ""
}
return filepath.Join(p.Root, assets)
}
func (p *Project) BuildDir() string {