From 7e09a41b05476f1ef6da2ea6dcd2fd45de0e705d Mon Sep 17 00:00:00 2001 From: Nathan Rogers <628426@gmail.com> Date: Sun, 10 Nov 2024 05:36:48 +1000 Subject: [PATCH] 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 --- esbuild/utils.js | 1 - 1 file changed, 1 deletion(-) diff --git a/esbuild/utils.js b/esbuild/utils.js index f034662153..3c39171b8a 100644 --- a/esbuild/utils.js +++ b/esbuild/utils.js @@ -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"];