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

Error with "--copy --force" command #49

Open
brycejlowe opened this issue Oct 16, 2018 · 0 comments
Open

Error with "--copy --force" command #49

brycejlowe opened this issue Oct 16, 2018 · 0 comments

Comments

@brycejlowe
Copy link

I can confirm this in PowerShell and bash. When you re-deploy with the --copy --force command you get an error "A resource must be a file, an empty folder or a symlink".

I did a little debugging and found that the doRemoveFolderRecursively method is calling the RecursiveDirectoryIterator. When the files are iterated through, the dot symlinks are being passed through to doRemoveResource and if the current folder has files in it that error will be thrown.

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

1 participant