We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7d4ff commit 4d6427bCopy full SHA for 4d6427b
1 file changed
lib/gitlab/cli.rb
@@ -16,12 +16,13 @@ class Gitlab::CLI
16
#
17
# @param [Array] args The command and it's optional arguments.
18
def self.start(args)
19
+ args_dup = args.dup
20
command = begin
- args.shift.strip
21
+ args_dup.shift.strip
22
rescue StandardError
23
'help'
24
end
- run(command, args)
25
+ run(command, args_dup)
26
27
28
# Processes a CLI command and outputs a result to the stream (stdout).
0 commit comments