packer-community / winrmcp

Copy files to a remote host using WinRM
MIT License
59 stars 31 forks source link

Fail if path is directory #33

Closed SwampDragons closed 6 years ago

SwampDragons commented 6 years ago

Closes #32

Fail in restoreContent() if destination path is a directory.

SwampDragons commented 6 years ago

I put a small amount of effort into trying to make this just repair pathing, but the reality is that this should probably push any extra path manipulations onto the person supplying the paths.

dylanmei commented 6 years ago

This makes sense, thanks.