tideliftcli/tidelift_yml.go

15 lines
195 B
Go
Raw Normal View History

2019-05-15 02:40:51 +00:00
package main
import (
"os"
)
func verifyTideliftYamlExists(directory string) bool {
os.Chdir(directory)
if _, err := os.Stat(".tidelift.yml"); err == nil {
return true
}
return false
}