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:
parent
e2e484e547
commit
7e09a41b05
1 changed files with 0 additions and 1 deletions
|
|
@ -105,7 +105,6 @@ function is_frappe_app(app_name, app_path) {
|
||||||
/**
|
/**
|
||||||
* Same as the is_frappe_app check in frappe/bench
|
* 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"];
|
const files_in_app = ["hooks.py", "modules.txt", "patches.txt"];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue