diff options
author | J.D. Bean <jonathandbean@gmail.com> | 2018-09-06 15:36:19 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-09-06 15:36:19 +0300 |
commit | 643c6f31e5f0ad4ba7b5ff1b9c3d1af2dc93cd57 (patch) | |
tree | e327496ee6c5a45480625a4ccb78c6e59c39ad32 /lib/gitlab | |
parent | 4a14ff5bcefe170d3f3ff9885fff21500442fac6 (diff) |
Recognize 'UNLICENSE' license files
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/file_detector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/file_detector.rb b/lib/gitlab/file_detector.rb index 49bc9c0b671..8f55e94975c 100644 --- a/lib/gitlab/file_detector.rb +++ b/lib/gitlab/file_detector.rb @@ -8,7 +8,7 @@ module Gitlab # Project files readme: %r{\Areadme[^/]*\z}i, changelog: %r{\A(changelog|history|changes|news)[^/]*\z}i, - license: %r{\A(licen[sc]e|copying)(\.[^/]+)?\z}i, + license: %r{\A((un)?licen[sc]e|copying)(\.[^/]+)?\z}i, contributing: %r{\Acontributing[^/]*\z}i, version: 'version', avatar: /\Alogo\.(png|jpg|gif)\z/, |