Skip to content

Commit

Permalink
[KOGITO-8961][KSW-Operator] Split use case and test examples
Browse files Browse the repository at this point in the history
Signed-off-by: desmax74 <mdessi@redhat.com>
  • Loading branch information
desmax74 committed Jun 6, 2023
1 parent 601edae commit 2b1b589
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ func GetPathForSamples(path string) string {
// we are on GH and the path contains two times "kogito-serverless-operator"
operatorPath := ""
if duplicatedFolderName > 1 {
strings.Cut(path, repoName)
_, after, _ := strings.Cut(path, repoName)
operatorPath = strings.Split(after, repoName)[1]
} else {
Expand Down

0 comments on commit 2b1b589

Please sign in to comment.