it-praktyk/New-OutputObject

When Parent Path contains a File, output is returned as (1) "doesn't exist" not (5) "can't be overwritten"

S-T-S opened this issue · 2 comments

S-T-S commented

I am expecting can not write to path, not path does not exist.

Attaching repro and transcript.
New-OutputObject_repro.zip

Due to a security reason, I don't the check attached zip file content. I'll remove attached the zip file tomorrow (2020.05.11).

Any data how to reproduce issue please include - as a plain text - in the issue text or as a gist.

Thank you for your understanding.

S-T-S commented

Doh! Of course.
Attaching the log and method to reproduce.

New-OutputObject_repro.log.txt
New-OutputObject_repro.ps1.txt