mirror of
https://github.com/frappe/bench.git
synced 2025-01-08 00:04:38 +00:00
fix: FileNotFound bug (#1383)
This commit is contained in:
parent
738d623117
commit
965e178e83
@ -198,7 +198,7 @@ class App(AppMeta):
|
|||||||
|
|
||||||
@step(title="Archiving App {repo}", success="App {repo} Archived")
|
@step(title="Archiving App {repo}", success="App {repo} Archived")
|
||||||
def remove(self, no_backup: bool = False):
|
def remove(self, no_backup: bool = False):
|
||||||
active_app_path = os.path.join("apps", self.name)
|
active_app_path = os.path.join("apps", self.repo)
|
||||||
|
|
||||||
if no_backup:
|
if no_backup:
|
||||||
if not os.path.islink(active_app_path):
|
if not os.path.islink(active_app_path):
|
||||||
|
Loading…
Reference in New Issue
Block a user