pkg/project/store/store.go
Method projectStore.StoreProject
has 5 return statements (exceeds 4 allowed). Open
Open
func (ps *projectStore) StoreProject(project *domain.Project) error {
err := ps.db.Where("path = ?", project.Path).First(project).Error
if err == nil {
return ErrProjectExists
}