xebialabs-community/xld-folder-plugin

Issue when extracting an archive to a folder that already exists

Closed this issue · 3 comments

When execution a Create action and the contents of the archive already exists, the process does nothing. I suspect it is awaiting a confimatrion to overwrite or not. This is the case when i manually execute it.

I propose to update the code from and to this:

Currentcode
$shell.Namespace($destination).copyhere($item)

New code
$shell.Namespace($destination).copyhere($item,16)
This will anwser "Yes" to any prompt.

Do you think this is a good fix?

Makes sense (according to the docs). You wanna create a PR?

I think i just did. First time so wasn't too sure I was doing it right.

Thanks. I've released v1.0.4