-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Hi,
I'm using wskdeploy to deploy a nodejs project. Some of my dependencies under node_modules contains empty files, that are currently ignored by wskdeploy:
openwhisk-wskdeploy/utils/zip.go
Lines 79 to 81 in d653592
| if !f.Mode().IsRegular() || f.Size() == 0 { | |
| return nil | |
| } |
Unfortunately, the missing files currently break my application.
Is the empty check really needed?
How can I ensure that empty files will be uploaded?
My workaround:
find . -type f -empty -name '*.js' -exec bash -c "echo '//' > \"{}\"" \;Reactions are currently unavailable