Skip to content

Commit

Permalink
builder: Provide getProjectExcludes callback to resourceFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed May 23, 2019
1 parent bff2313 commit 4fb9d6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/builder/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,12 @@ module.exports = {
const projectType = typeRepository.getType(project.type);
const resourceCollections = resourceFactory.createCollectionsForTree(project, {
useNamespaces: true,
virtualReaders: projectWriters
virtualReaders: projectWriters,
getProjectExcludes: function(proj) {
if (proj.builder) {
return proj.builder.excludes;
}
}
});

const writer = new MemAdapter({
Expand Down

0 comments on commit 4fb9d6d

Please sign in to comment.