fix: is_frappe_app check not wai for --soft-link apps

Removed the directory check, as it was returning false when an app was installed using bench get-app --soft-link option
This commit is contained in:
Nathan Rogers 2024-11-10 05:36:48 +10:00
parent e2e484e547
commit 7e09a41b05

View file

@ -105,7 +105,6 @@ function is_frappe_app(app_name, app_path) {
/**
* Same as the is_frappe_app check in frappe/bench
*/
if (!fs.lstatSync(app_path).isDirectory()) return false;
const files_in_app = ["hooks.py", "modules.txt", "patches.txt"];