check for None

This commit is contained in:
Lendemor 2025-01-24 22:21:59 +01:00
parent a2e86a385b
commit 6b129c5641

View File

@ -1283,7 +1283,7 @@ def validate_bun():
""" """
bun_path = path_ops.get_bun_path() bun_path = path_ops.get_bun_path()
if bun_path.samefile(constants.Bun.DEFAULT_PATH): if bun_path and bun_path.samefile(constants.Bun.DEFAULT_PATH):
console.info(f"Using custom Bun path: {bun_path}") console.info(f"Using custom Bun path: {bun_path}")
bun_version = get_bun_version() bun_version = get_bun_version()
if not bun_version: if not bun_version: