pin to v1.0.0 of github action parser

这个提交包含在:
Casey Lee
2019-02-06 22:36:08 -08:00
父节点 3e04312912
当前提交 4b61fb3bc3
共有 119 个文件被更改,包括 9482 次插入3609 次删除

查看文件

@@ -76,6 +76,16 @@ func Expand(path string) (string, error) {
return filepath.Join(dir, path[1:]), nil
}
// Reset clears the cache, forcing the next call to Dir to re-detect
// the home directory. This generally never has to be called, but can be
// useful in tests if you're modifying the home directory via the HOME
// env var or something.
func Reset() {
cacheLock.Lock()
defer cacheLock.Unlock()
homedirCache = ""
}
func dirUnix() (string, error) {
homeEnv := "HOME"
if runtime.GOOS == "plan9" {