Closed ferwe closed 5 years ago
Thanks. Obviously my bad ;-)
Hey Przemyslaw
No worries man. Your'e doing a great job! I'm enjoying your modules and I'm happy if I can support you in any way :)
Thanks for sharing this great stuff!
Regards Ferdinand Weiner
Am Fr., 14. Dez. 2018 um 09:47 Uhr schrieb Przemysław Kłys < notifications@github.com>:
Merged #11 https://github.com/EvotecIT/PSWinDocumentation/pull/11 into master.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EvotecIT/PSWinDocumentation/pull/11#event-2026282131, or mute the thread https://github.com/notifications/unsubscribe-auth/Ai8WpjAtJi9d0BuDUIqHF6D7uRrRBoRxks5u42WugaJpZM4ZTEUP .
If a custom template is choosen, the function Get-DocumentPath returns " Null" After debugging I realized, that the reason is the if statement in line 13. The function Test-File needs to be in separate brackets. Otherwise the result of the if statement is just empty instead of $true or $false.