From 8827c1d18473a3d84db181c89212975418a25e37 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 27 Jul 2020 12:09:50 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- bin/feature-flag | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/feature-flag b/bin/feature-flag index 46d93a11ebd..d4ab295b30c 100755 --- a/bin/feature-flag +++ b/bin/feature-flag @@ -118,6 +118,9 @@ class FeatureFlagOptionParser end def read_type + # if there's only one type, do not ask, return + return TYPES.first.first if TYPES.one? + $stdout.puts ">> Please specify the type of your feature flag:" $stdout.puts TYPES.each do |type, data| -- cgit v1.2.1