mirror of
https://github.com/frappe/bench.git
synced 2025-01-27 08:18:25 +00:00
fix(command_cache): Return iterable as fallback
This commit is contained in:
parent
b35af193d3
commit
6fd3ad738b
@ -1076,6 +1076,8 @@ def generate_command_cache(bench_path='.'):
|
|||||||
if hasattr(e, "stderr"):
|
if hasattr(e, "stderr"):
|
||||||
print(e.stderr.decode('utf-8'))
|
print(e.stderr.decode('utf-8'))
|
||||||
|
|
||||||
|
return []
|
||||||
|
|
||||||
|
|
||||||
def clear_command_cache(bench_path='.'):
|
def clear_command_cache(bench_path='.'):
|
||||||
"""Clears commands cached
|
"""Clears commands cached
|
||||||
|
Loading…
x
Reference in New Issue
Block a user