diff --git a/server/core/config/valid/repo_cfg.go b/server/core/config/valid/repo_cfg.go index 95e36b1f27..f9e5a3ab7c 100644 --- a/server/core/config/valid/repo_cfg.go +++ b/server/core/config/valid/repo_cfg.go @@ -164,8 +164,9 @@ type Project struct { func (p Project) GetName() string { if p.Name != nil { return *p.Name + } else { + return p.Dir } - return "" } type Autoplan struct {