-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Warn user when empty files are skipped #221
Warn user when empty files are skipped #221
Conversation
Hey, thanks for this! It looks good to me. Just one thing: there's another place to place this warning. Just before executing the preprocessors:
You can install the local cloned repository by executing |
Thanks for the tips! For some reason I'm having trouble with installing lume (I usually just run I've updated the branch with a warning at the |
Very nice! Just one question before merging. The reason export default function () {
return "";
} |
It happens in some environments, that the PATH is not updated automatically on install Deno. This script may help (from the Deno manual):
|
Thank you! |
Sorry for the late reply! This makes a lot of sense to me, I've opened #224 to fix it.
Thanks for this! I'll look into that 👍 |
What?
Logs a warning to tell the user when a file is being skipped from the build because it's empty.
Why?
I was looking around the code for this bit of functionality and noticed that there was an open issue to add some logging. (Closes #180)
The issue was opened a while ago, so I don't know if it's still something you want to add. But because it was a small change I thought I might as well just submit a PR. Feel free to reject it if the issue isn't relevant anymore!
Testing
This PR shouldn't affect functionality, and it doesn't seem like logging messages are something that should have unit tests attached to it. But if it's desirable to add a test here then I'm happy to do so.
On this topic, I was wondering if you have any tips on how to run a locally modified version of lume? I had a quick attempt but I was hitting some issues; I'm fairly new to Deno so I imagine that I'm missing something about how dependencies are resolved..