check for None
This commit is contained in:
parent
a2e86a385b
commit
6b129c5641
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user