From a2e86a385b023bd51c45707dab026fb73a522e7c Mon Sep 17 00:00:00 2001 From: Lendemor Date: Fri, 24 Jan 2025 22:18:22 +0100 Subject: [PATCH] try using samefile() for file path comparison --- reflex/utils/prerequisites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/utils/prerequisites.py b/reflex/utils/prerequisites.py index 6a623e3eb..02e98ced7 100644 --- a/reflex/utils/prerequisites.py +++ b/reflex/utils/prerequisites.py @@ -1283,7 +1283,7 @@ def validate_bun(): """ bun_path = path_ops.get_bun_path() - if bun_path != constants.Bun.DEFAULT_PATH: + if bun_path.samefile(constants.Bun.DEFAULT_PATH): console.info(f"Using custom Bun path: {bun_path}") bun_version = get_bun_version() if not bun_version: