Remove nil check because blank? handles it
The check used to be session_name.strip.empty?, but I forgot to remove the nil case when I converted to blank?.bug/bundler_fix
parent
5b7785438f
commit
b797e96a19
|
@ -1477,7 +1477,7 @@ class Core
|
||||||
print(Serializer::ReadableText.dump_sessions(framework, :show_extended => show_extended, :verbose => verbose, :search_term => search_term))
|
print(Serializer::ReadableText.dump_sessions(framework, :show_extended => show_extended, :verbose => verbose, :search_term => search_term))
|
||||||
print_line
|
print_line
|
||||||
when 'name'
|
when 'name'
|
||||||
if session_name.nil? || session_name.blank?
|
if session_name.blank?
|
||||||
print_error('Please specify a valid session name')
|
print_error('Please specify a valid session name')
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue