From f3b55f7785710cf293aaa00a087b1bd7e760e7cf Mon Sep 17 00:00:00 2001 From: Alok Singh Date: Thu, 4 May 2023 17:28:34 +0530 Subject: [PATCH] fix: resolve filesystem app dependencies (#1450) * fix: resolve private app dependencies * fix: removed additional check and moved self.on_disk to previous check. --- bench/app.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bench/app.py b/bench/app.py index 797ec400..25724b5d 100755 --- a/bench/app.py +++ b/bench/app.py @@ -81,17 +81,15 @@ class AppMeta: if not self.is_repo: self.repo = self.app_name = self.name return + # fetch meta from installed apps if self.bench and os.path.exists(os.path.join(self.bench.name, "apps", self.name)): self.mount_path = os.path.join(self.bench.name, "apps", self.name) self.from_apps = True - self._setup_details_from_mounted_disk() - - # fetch meta for repo on mounted disk - elif os.path.exists(self.mount_path): self.on_disk = True self._setup_details_from_mounted_disk() + # fetch meta for repo from remote git server - traditional get-app url elif is_git_url(self.name): self.is_url = True