summaryrefslogtreecommitdiff
path: root/lib/api/files.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-02-02 11:23:05 +0100
committerBob Van Landuyt <bob@vanlanduyt.co>2018-02-02 13:17:32 +0100
commit948150f050d14811f6fe1b327387e3c2c1b1fe31 (patch)
treecea5fcebe31e084a58e698e3e802f194883b5ffb /lib/api/files.rb
parent8891fbd0a95bd1d2725d6d6187ff4eb21572c3cc (diff)
downloadgitlab-ce-948150f050d14811f6fe1b327387e3c2c1b1fe31.tar.gz
Avoid error when no restricted levels are definedbvl-fix-500-on-fork-without-restricted-visibility-levels
When no visibility levels are defined they could sometimes return `nil` instead of an empty array. In this case we want to allow all levels.
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions