Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
0
Merge Requests
0
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-shell
Commits
8513d181
Commit
8513d181
authored
Nov 15, 2013
by
javex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display appropriate error message on config error
parent
6d1b3763
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
bin/check
bin/check
+1
-0
No files found.
bin/check
View file @
8513d181
...
@@ -21,6 +21,7 @@ config = GitlabConfig.new
...
@@ -21,6 +21,7 @@ config = GitlabConfig.new
dirs
=
[
config
.
repos_path
,
config
.
auth_file
,
config
.
redis
[
'bin'
]]
dirs
=
[
config
.
repos_path
,
config
.
auth_file
,
config
.
redis
[
'bin'
]]
dirs
.
each
do
|
dir
|
dirs
.
each
do
|
dir
|
abort
(
"ERROR: missing option in config.yml"
)
unless
dir
print
"
\t
#{
dir
}
: "
print
"
\t
#{
dir
}
: "
if
File
.
exists?
(
dir
)
if
File
.
exists?
(
dir
)
print
'OK'
print
'OK'
...
...
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