From 3201585d40e0ef47e97b16b08a13eb44fa6ba687 Mon Sep 17 00:00:00 2001 From: dzdidi Date: Tue, 15 Aug 2023 17:29:44 +0200 Subject: [PATCH] list only initilized repos Signed-off-by: dzdidi --- src/appHome.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appHome.js b/src/appHome.js index e5541fc..1db2e5d 100644 --- a/src/appHome.js +++ b/src/appHome.js @@ -28,7 +28,7 @@ function isShared (name) { function list (sharedOnly) { const repos = fs.readdirSync(APP_HOME) - if (!sharedOnly) return repos.filter(r => !r.startsWith('.')) + if (!sharedOnly) return repos.filter(r => !r.startsWith('.') && isInitialized(r)) return repos.filter(repo => isShared(repo)) }