We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5214b07 commit b1812bbCopy full SHA for b1812bb
remediation/workflow/metadata/actionmetadata_test.go
@@ -182,12 +182,6 @@ func TestKnowledgeBase(t *testing.T) {
182
func doesActionRepoExist(filePath string) bool {
183
splitOnSlash := strings.Split(filePath, "/")
184
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
-
191
owner := splitOnSlash[5]
192
repo := splitOnSlash[6]
193
0 commit comments