in breakingchange.go [39:48]
func BreakingChangesDetect(currentModulePath, owner, repo string, tag *string) (string, error) {
tmpDirForLatestDefaultBranch, err := cloneGithubRepo(owner, repo, tag)
if err != nil {
return "", err
}
defer func() {
_ = os.RemoveAll(tmpDirForLatestDefaultBranch)
}()
return CompareTwoModules(tmpDirForLatestDefaultBranch, currentModulePath)
}