Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7a8287c5
Commit
7a8287c5
authored
Dec 05, 2019
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes to bin/secpick
parent
eefa6f35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bin/secpick
bin/secpick
+2
-2
No files found.
bin/secpick
View file @
7a8287c5
...
...
@@ -20,7 +20,7 @@ module Secpick
end
def
ee?
File
.
exist?
(
'./ee/app/models/license.rb'
)
File
.
exist?
(
File
.
expand_path
(
'../ee/app/models/license.rb'
,
__dir__
)
)
end
def
dry_run?
...
...
@@ -127,7 +127,7 @@ module Secpick
options
[
:branch
]
||=
`git rev-parse --abbrev-ref HEAD`
options
[
:remote
]
||=
DEFAULT_REMOTE
abort
(
"Missing options. Use
#{
$0
}
--help to see the list of options available"
.
red
)
if
options
.
value
s
.
include
?
(
nil
)
abort
(
"Missing options. Use
#{
$0
}
--help to see the list of options available"
.
red
)
if
options
.
value?
(
nil
)
abort
(
"Wrong version format
#{
options
[
:version
].
bold
}
"
.
red
)
unless
options
[
:version
]
=~
/\A\d*\-\d*\Z/
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment