You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_=os.Remove(checkLegacyDir) // try to remove the empty dummy directory first
202
-
_, err=os.Stat(checkLegacyDir) // if the directory is not empty, then it won't be removed, it should be handled manually
201
+
_=os.Remove(legacyDir) // try to remove the empty dummy directory first
202
+
_, err=os.Stat(legacyDir) // if the directory is not empty, then it won't be removed, it should be handled manually
203
203
iferr==nil||!errors.Is(err, os.ErrNotExist) {
204
-
log.Error(`Git HOME has been moved to [git].HOME_PATH, but there are legacy file in old place. Please backup and remove the legacy files %q`, checkLegacyDir)
204
+
log.Error(`Git HOME has been moved to [git].HOME_PATH, but there are legacy file in old place. Please backup and remove the legacy files %q`, legacyDir)
0 commit comments