From 72c52f2326a53186212682661f57314ffc61283d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20R=C3=BCegg?= <simon@rueggs.ch>
Date: Sat, 9 Nov 2019 15:03:17 +0100
Subject: [PATCH] fix(file-manager) Use correct manager config for fileMatch
 (#4778)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Otherwise the language overwrites won't be merged correctly.

Signed-off-by: Simon Rüegg <simon.ruegg@vshn.ch>
---
 lib/workers/repository/extract/manager-files.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/workers/repository/extract/manager-files.js b/lib/workers/repository/extract/manager-files.js
index 787b2079f8..caed55117d 100644
--- a/lib/workers/repository/extract/manager-files.js
+++ b/lib/workers/repository/extract/manager-files.js
@@ -37,7 +37,7 @@ async function getManagerPackageFiles(config, managerConfig) {
   const matchedFiles = getMatchingFiles(
     fileList,
     manager,
-    config[manager].fileMatch
+    managerConfig.fileMatch
   );
   // istanbul ignore else
   if (matchedFiles.length) {
-- 
GitLab