diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-05-18 14:01:27 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2018-05-22 13:09:53 +0300 |
commit | 83cda43a00652d992cb2a47920db81cc0dae23e4 (patch) | |
tree | 5635981b7cf741892659fecb2fa8ca09f7f57e32 /lib/gitlab | |
parent | 83660e5712dde52767a0a22023785b9006b81c21 (diff) |
Fix Xcode project detection by looking for dirs instead of 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 77af7a868d0..49bc9c0b671 100644 --- a/lib/gitlab/file_detector.rb +++ b/lib/gitlab/file_detector.rb @@ -14,7 +14,7 @@ module Gitlab avatar: /\Alogo\.(png|jpg|gif)\z/, issue_template: %r{\A\.gitlab/issue_templates/[^/]+\.md\z}, merge_request_template: %r{\A\.gitlab/merge_request_templates/[^/]+\.md\z}, - xcode_config: %r{\A[^/]*\.(xcodeproj|xcworkspace)\z}, + xcode_config: %r{\A[^/]*\.(xcodeproj|xcworkspace)(/.+)?\z}, # Configuration files gitignore: '.gitignore', |