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

[BUG] CPMLicenses Fails with Folders Named LICENSE #1

Open
DeveloperPaul123 opened this issue Sep 16, 2021 · 1 comment
Open

[BUG] CPMLicenses Fails with Folders Named LICENSE #1

DeveloperPaul123 opened this issue Sep 16, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@DeveloperPaul123
Copy link
Contributor

I realize that this generally isn't the case in most projects, but I accidentally made it happen with a project I'm working on where I created a folder called LICENSE instead of a file and didn't realize it. When I tried to run the write-licenses build target it failed due to not being about to "read" the directory.

@TheLartians
Copy link
Member

Hey great point, we should definetely check if the path is a real file before attempting to read it!

@TheLartians TheLartians added the bug Something isn't working label Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants