Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

Empty files are missing #1154

Copy link
Copy link

Description

@Wohllebe-dotSource
Issue body actions

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:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.