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

Bad destination file if expand:true #25

Open
JaroslavMoravec opened this issue Mar 2, 2016 · 1 comment
Open

Bad destination file if expand:true #25

JaroslavMoravec opened this issue Mar 2, 2016 · 1 comment

Comments

@JaroslavMoravec
Copy link

There is a problem with file resolvings in upload method if you set standard grunt's files' config
expand: true. Files are then uploaded to path eg.

mkdir /kernel/services/console.js
mkdir /kernel/services/console.js/services
write /kernel/services/console.js/services/console.js

for config

{
expand: true,
filter: 'isFile',
cwd: 'build/kernel',
src: '**/*',
dest: 'kernel/'
}

And filter filter: 'isFile' is needed to be configured, which is not clearly said why to do it.

@toby1kenobi
Copy link

toby1kenobi commented Oct 11, 2017

I'm guessing it won't make much difference, but I also have this issue. This only seems to affect files that have not yet been uploaded - overwrites work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants