• Jacob Vosmaer's avatar
    Handle broken symlinks in create-hooks · a10d4723
    Jacob Vosmaer authored
    If a repository contained a broken symlink named 'hooks', this would
    raise ENOENT in lib/gitlab_projects.rb, which got ignored in
    bin/create-hooks. This commit fixes that by making sure we handle
    broken symlinks in lib/gitlab_projects.rb.
    a10d4723
gitlab_projects_spec.rb 14.3 KB