lib/gitlab/cli.rb in gitlab-4.16.1 vs lib/gitlab/cli.rb in gitlab-4.17.0
- old
+ new
@@ -15,13 +15,13 @@
# Gitlab::CLI.start(['help', 'issues'])
#
# @param [Array] args The command and it's optional arguments.
def self.start(args)
command = begin
- args.shift.strip
- rescue StandardError
- 'help'
- end
+ args.shift.strip
+ rescue StandardError
+ 'help'
+ end
run(command, args)
end
# Processes a CLI command and outputs a result to the stream (stdout).
#