Fix jobs NilClass tab complete bug

bug/bundler_fix
Spencer McIntyre 2014-12-18 15:43:04 -05:00
parent dcf23172be
commit 400bd9a094
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