Land #4418, threads tab completion NilClass fix
commit
dcf23172be
|
@ -1025,7 +1025,7 @@ class Core
|
||||||
return @@threads_opts.fmt.keys
|
return @@threads_opts.fmt.keys
|
||||||
end
|
end
|
||||||
|
|
||||||
if @@threads_opts.fmt[words[1]][0] and (words.length == 2)
|
if words.length == 2 and (@@threads_opts.fmt[words[1]] || [false])[0]
|
||||||
return framework.threads.each_index.map{ |idx| idx.to_s }
|
return framework.threads.each_index.map{ |idx| idx.to_s }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue