PowerShell / DSC

This repo is for the DSC v3 project
MIT License
133 stars 22 forks source link

(GH-407) Support negative integers in manifest `exitCodes` #410

Closed michaeltlombardi closed 2 months ago

michaeltlombardi commented 2 months ago

PR Summary

This change:

PR Context

Prior to this change, the JSON schema for the exitCodes property of resource manifests only supported positive integers as exit codes.

DSC itself supports negative integers as exit codes, and some apps return negative integers as exit codes for hexadecimal exit codes, like -2147024891 for 0x80070005, "Access denied."

[!NOTE] This PR builds on #397 and is blocked on that PR being reviewed and merged.