Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed some bugs around excludes not resolving #74

Closed
wants to merge 4 commits into from

Conversation

dylanowen
Copy link

This builds on top of #32

I cleaned up exclude options to use the same file resolution as 'files' for consistency.

I signed with the CLA under my gmail: dyltotheo

glob.sync(filename).forEach(function(globFileName) {
excludesMap[filenameToMid(pathUtil.resolve(baseDir, globFileName))] = true;
});
options.exclude.forEach(function (filename) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the original options.exclude && was in case node_modules contained no *.d.ts files? Seems unlikely to have that issue though?

return pathUtil.resolve(baseDir, filename);
});
return glob.sync(pathUtil.resolve(baseDir, filename));
}).reduce((result, pathArray) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's plan to rebase this after #32 lands.

@dylans dylans added this to the 2.1.0 milestone Jan 12, 2017
@dylans dylans modified the milestones: 2.2.0, 2.1.0 Jan 30, 2017
@dylans
Copy link
Contributor

dylans commented Jan 30, 2017

Pushing out to 2.2.0 as there are still changes to review.

@dylans dylans modified the milestones: 2.2.0, 3.1 Dec 28, 2018
@dylanowen dylanowen closed this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants