Land #4425, jobs tab completion NilClass fix

bug/bundler_fix
William Vu 2014-12-18 15:25:57 -06:00
commit 723998e1d4
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 1 additions and 1 deletions

View File

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