mirror of
https://github.com/go-task/task.git
synced 2024-12-12 10:45:49 +02:00
9674d75ff6
Closes #393
11 lines
151 B
Go
11 lines
151 B
Go
package taskfile
|
|
|
|
func stringSliceContains(s []string, str string) bool {
|
|
for _, v := range s {
|
|
if v == str {
|
|
return true
|
|
}
|
|
}
|
|
return false
|
|
}
|