mirror of
https://github.com/frappe/bench.git
synced 2024-11-16 01:57:08 +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):
|
if os.path.exists(bench_cache_file):
|
||||||
command_dump = open(bench_cache_file, "r").read() or "[]"
|
command_dump = open(bench_cache_file, "r").read() or "[]"
|
||||||
return json.loads(command_dump)
|
return json.loads(command_dump)
|
||||||
|
return []
|
||||||
|
|
||||||
|
|
||||||
def get_frappe_commands():
|
def get_frappe_commands():
|
||||||
|
Loading…
Reference in New Issue
Block a user