Skip to content

Commit 421067f

Browse files
removing unwanted change
1 parent 6883158 commit 421067f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

remediation/workflow/metadata/actionmetadata_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,6 @@ func TestKnowledgeBase(t *testing.T) {
182182
func doesActionRepoExist(filePath string) bool {
183183
splitOnSlash := strings.Split(filePath, "/")
184184

185-
// Check if path has enough components
186-
if len(splitOnSlash) < 6 {
187-
log.Printf("error in doesActionRepoExist: invalid path format %s", filePath)
188-
return false
189-
}
190-
191185
owner := splitOnSlash[5]
192186
repo := splitOnSlash[6]
193187

0 commit comments

Comments
 (0)