mirror of https://github.com/dsoprea/go-exif.git
common/testing_common.go: Tighten error checking for module-find
parent
db9a0b3a24
commit
3b18b2295e
|
@ -39,6 +39,10 @@ func GetModuleRootPath() string {
|
|||
break
|
||||
}
|
||||
|
||||
if err.Error() != "No such file or directory" {
|
||||
log.Panic(err)
|
||||
}
|
||||
|
||||
visited = append(visited, tryStampFilepath)
|
||||
|
||||
currentPath = path.Dir(currentPath)
|
||||
|
|
Loading…
Reference in New Issue