mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 23:48:24 +00:00
fix: Return fallback list in cached_frappe_commands
This commit is contained in:
parent
6160ff48ab
commit
a015501699
@ -181,6 +181,7 @@ def get_cached_frappe_commands():
|
||||
if os.path.exists(bench_cache_file):
|
||||
command_dump = open(bench_cache_file, "r").read() or "[]"
|
||||
return json.loads(command_dump)
|
||||
return []
|
||||
|
||||
|
||||
def get_frappe_commands():
|
||||
|
Loading…
x
Reference in New Issue
Block a user