From e2ee255b1750c20b4d3eb79f592180df5b0ede74 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sun, 21 Oct 2018 14:59:52 +0200
Subject: [PATCH] fix: ignore vendor directories

Closes #2673
---
 lib/config/definitions.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index 631e9902b0..dfd2b35c63 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -989,6 +989,7 @@ const options = [
     type: 'json',
     default: {
       fileMatch: ['(^|/)go.mod$'],
+      ignorePath: ['**/vendor/**'],
     },
     mergeable: true,
   },
@@ -1137,6 +1138,7 @@ const options = [
     type: 'json',
     default: {
       fileMatch: ['(^|\\/)([\\w-]*)composer.json$'],
+      ignorePath: ['**/vendor/**'],
     },
     mergeable: true,
     cli: false,
-- 
GitLab