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

Ignore underscore folders inside of themes #87

Merged
merged 3 commits into from
Nov 8, 2018

Conversation

allejo
Copy link
Member

@allejo allejo commented Nov 8, 2018

Summary

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed issues Fixes #85

Description

Underscore folders are not ignored when inside of theme folders because of the way the main regex ignores the _themes folder to allow copying over assets from a theme. This PR adds a new regex for ignoring underscore folders inside of active theme.

This also adds unit tests for the FileExplorer class since I thought I was going to be making changes to it but nope. They're still nice to have.

Check List

  • Added appropriate PhpDoc for modifications
  • Added unit test to ensure fix works as intended

@allejo allejo added the Bug: Fix A tag for PRs to signify it's fixing a bug label Nov 8, 2018
@allejo allejo added this to the v0.2.0 milestone Nov 8, 2018
@allejo allejo added the Core: Non-breaking This is a small change to the project's internal; can be planned for minor releases label Nov 8, 2018
@allejo allejo merged commit aee9e9f into master Nov 8, 2018
@allejo allejo deleted the hotfix/theme-underscore-folders branch November 8, 2018 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Fix A tag for PRs to signify it's fixing a bug Core: Non-breaking This is a small change to the project's internal; can be planned for minor releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Theme _sass folder is copied over to target folder
1 participant