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
cd544794
Commit
cd544794
authored
Jan 18, 2018
by
Ben Bodenmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fix
parent
f82ccd63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+1
-1
No files found.
lib/tasks/gitlab/check.rake
View file @
cd544794
...
@@ -427,7 +427,7 @@ namespace :gitlab do
...
@@ -427,7 +427,7 @@ namespace :gitlab do
namespace
:user
do
namespace
:user
do
desc
"GitLab | Check the integrity of a specific user's repositories"
desc
"GitLab | Check the integrity of a specific user's repositories"
task
:check_repos
,
[
:username
]
=>
:environment
do
|
t
,
args
|
task
:check_repos
,
[
:username
]
=>
:environment
do
|
t
,
args
|
username
=
args
[
:username
]
||
prompt
(
"Check repository integrity for
f
sername? "
.
color
(
:blue
))
username
=
args
[
:username
]
||
prompt
(
"Check repository integrity for
u
sername? "
.
color
(
:blue
))
user
=
User
.
find_by
(
username:
username
)
user
=
User
.
find_by
(
username:
username
)
if
user
if
user
repo_dirs
=
user
.
authorized_projects
.
map
do
|
p
|
repo_dirs
=
user
.
authorized_projects
.
map
do
|
p
|
...
...
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