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

fix for folders not containing any files but containing other folders #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

losrebellos
Copy link

When a folder doesn't contain any files, remapify throws an error as aliasWithNoExt is null.
Folders can be empty of files but can contains other folders (which won't be empty), especially if you're working on a package or library.

@joeybaker
Copy link
Owner

Thanks for the PR! Can you take a look at a few things:

  1. The travis build failed because of linter problems: https://travis-ci.org/joeybaker/remapify/jobs/37479094 Can you fix?
  2. Can you add a test that fails before you change?

@losrebellos
Copy link
Author

fix for folders not containing any files but containing other folders, Travis test passed (space was missing)

@joeybaker
Copy link
Owner

Great thanks! Can you add a test proving that this functionality works?

@joeybaker
Copy link
Owner

@losrebellos ping! I'd like to merge this functionality, but a test would really help, and this is no longer directly mergable :(

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.

2 participants