From cbb4b808d6bbbb46a1c8b8621ecbb98b398d922f Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Wed, 22 May 2019 17:11:26 +0200 Subject: [PATCH] builder: Provide getProjectExcludes callback to resourceFactory --- lib/builder/builder.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/builder/builder.js b/lib/builder/builder.js index a4a0d415e..1fbeea0b4 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -275,7 +275,10 @@ module.exports = { const projectType = typeRepository.getType(project.type); const resourceCollections = resourceFactory.createCollectionsForTree(project, { useNamespaces: true, - virtualReaders: projectWriters + virtualReaders: projectWriters, + getProjectExcludes: function(proj) { + return proj.builder.excludes; + } }); const writer = new MemAdapter({