inserting scan source

This commit is contained in:
dwertent
2022-03-25 16:08:07 +03:00
parent 4be2104d4b
commit db5fdd75c4
23 changed files with 107 additions and 134 deletions

View File

@@ -44,7 +44,7 @@ func initLoggerLevel() {
}
func initCacheDir() {
if rootInfo.CacheDir == getter.DefaultLocalStore {
if rootInfo.CacheDir != getter.DefaultLocalStore {
getter.DefaultLocalStore = rootInfo.CacheDir
} else if cacheDir := os.Getenv("KS_CACHE_DIR"); cacheDir != "" {
getter.DefaultLocalStore = cacheDir