DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Add error message for PowerShell adapter without input

Open Gijsreyn opened this issue 1 year ago • 1 comments

PR Summary

The PowerShell adapter requires a check whenever input is empty, it should return a proper error message. In this case, the default @{} was given as a parameter without converting it to JSON. Now it checks the JSON input and if empty, converts it still to an empty JSON string.

Gijsreyn avatar Aug 07 '24 07:08 Gijsreyn

@anmenaga Can you review this PR? It's a small one.

Gijsreyn avatar Aug 07 '24 07:08 Gijsreyn

A generic fix for this issue is in #525 .

anmenaga avatar Aug 21 '24 21:08 anmenaga