Skip to content

Commit 0196330

Browse files
committed
fix TestDiggerGenerateProjects
1 parent add2150 commit 0196330

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/configuration/digger_config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ func ConvertDiggerYamlToConfig(diggerYaml *DiggerConfigYaml, workingDir string,
279279
return nil, err
280280
}
281281
if includeMatch && !excludeMatch {
282-
project := Project{Name: filepath.Base(dir), Dir: filepath.Join(workingDir, dir)}
282+
// generate a new project using default workflow
283+
project := Project{Name: filepath.Base(dir), Dir: filepath.Join(workingDir, dir), Workflow: defaultWorkflowName}
283284
diggerConfig.Projects = append(diggerConfig.Projects, project)
284285
}
285286
}

0 commit comments

Comments
 (0)