Fix jobs NilClass tab complete bug
parent
dcf23172be
commit
400bd9a094
|
@ -873,7 +873,7 @@ class Core
|
|||
return @@jobs_opts.fmt.keys
|
||||
end
|
||||
|
||||
if @@jobs_opts.fmt[words[1]][0] and (words.length == 2)
|
||||
if words.length == 2 and (@@jobs_opts.fmt[words[1]] || [false])[0]
|
||||
return framework.jobs.keys
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue