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 22, 2019
1 parent bff2313 commit cbb4b80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/builder/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit cbb4b80

Please sign in to comment.