update
This commit is contained in:
11
internal/run/helpers.go
Normal file
11
internal/run/helpers.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package run
|
||||
|
||||
// containsString reports whether the slice contains the value.
|
||||
func containsString(values []string, target string) bool {
|
||||
for _, value := range values {
|
||||
if value == target {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user