BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
649a1fcf
Commit
649a1fcf
authored
Feb 21, 2017
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incomming email check task to use same patch we did in mail_room
parent
9d7615d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
check.rake
lib/tasks/gitlab/check.rake
+5
-2
No files found.
lib/tasks/gitlab/check.rake
View file @
649a1fcf
...
...
@@ -724,8 +724,11 @@ namespace :gitlab do
def
check_imap_authentication
print
"IMAP server credentials are correct? ... "
config_path
=
Rails
.
root
.
join
(
'config'
,
'mail_room.yml'
)
config_file
=
YAML
.
load
(
ERB
.
new
(
File
.
read
(
config_path
)).
result
)
config_path
=
Rails
.
root
.
join
(
'config'
,
'mail_room.yml'
).
to_s
erb
=
ERB
.
new
(
File
.
read
(
config_path
))
erb
.
filename
=
config_path
config_file
=
YAML
.
load
(
erb
.
result
)
config
=
config_file
[
:mailboxes
].
first
if
config
...
...
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