Land #4418, threads tab completion NilClass fix

bug/bundler_fix
William Vu 2014-12-17 22:13:17 -06:00
commit dcf23172be
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 1 additions and 1 deletions

View File

@ -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