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
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
Léo-Paul Géneau
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lib/tasks/gitlab/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