lib/gitlab/shell.rb in gitlab-3.4.0 vs lib/gitlab/shell.rb in gitlab-3.5.0
- old
+ new
@@ -17,11 +17,10 @@
while buffer = Readline.readline('gitlab> ')
begin
parse_input buffer
- yaml_load_arguments! @arguments
- @arguments.map! { |arg| symbolize_keys arg }
+ @arguments.map! { |arg| symbolize_keys(yaml_load(arg)) }
case buffer
when nil, ''
next
when 'exit'