Merge branch 'patch-19' into 'master'
minor typo fix See merge request gitlab-org/gitlab-ce!16543
This commit is contained in:
commit
fa037e7c5f
1 changed files with 1 additions and 1 deletions
|
@ -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 fsername? ".color(:blue))
|
username = args[:username] || prompt("Check repository integrity for username? ".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|
|
||||||
|
|
Loading…
Reference in a new issue