15 lines
195 B
Go
15 lines
195 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func verifyTideliftYamlExists(directory string) bool {
|
||
|
os.Chdir(directory)
|
||
|
if _, err := os.Stat(".tidelift.yml"); err == nil {
|
||
|
return true
|
||
|
}
|
||
|
|
||
|
return false
|
||
|
}
|