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

Only supports moving one file per package #11

Open
ryanboswell opened this issue Feb 15, 2017 · 1 comment
Open

Only supports moving one file per package #11

ryanboswell opened this issue Feb 15, 2017 · 1 comment

Comments

@ryanboswell
Copy link

It doesn't look like the plugin supports moving more than one drop in file per package, it's probably a relatively rare case, but WordPress plugins like https://github.com/stuttter/ludicrousdb have "drop ins" that go to multiple places. When we ran it though, only one file was moved and the others were left untouched.

I'm pretty sure that I've narrowed it down to a few lines in the getPaths method, where the files value is overwritten, which causes problems for multiple dropin files going to the same place from the same source, only the last one in the list is actually moved.

@onnimonni
Copy link
Member

Cool! Can you submit a PR?

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