-
Notifications
You must be signed in to change notification settings - Fork 170
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
Optional: Don't create an empty file #157
Comments
+1 |
+ 1 |
I believe this PR solves this problem. |
@tkambler not exactly, if I understood correctly the PR you are talking about just warn or throws an error if the source file is empty. The problem described here is: not to create an empty file (if no src files supplied or they are empty), but also not to throw the error which would break the task. |
Ah, nevermind then. |
Yep. That would be useful. +1 |
👍 |
Hi,
I've got the issue, that the conncat task creats a file, although no source file was found. At my case, I want to prevent that.
I looked for an option to disable that feature. I haven't found one. But I found the request #36 from 2013. akhoury asked for the createEmptyFiles option but no one answered. Since I am not sure if the idea was lost because the issue has already been closed, I create a new one to ask for it.
Do you can offer an option like createEmptyFiles: true/false?
To implement it, you must only do that change on line 114 at concat.js:
Thank you.
The text was updated successfully, but these errors were encountered: