MCPcopy Create free account
hub / github.com/Azure/powershell / validateErrorActionPref

Function validateErrorActionPref

src/main.ts:66–70  ·  view source on GitHub ↗
(errorActionPreference: string)

Source from the content-addressed store, hash-verified

64}
65
66function validateErrorActionPref(errorActionPreference: string) {
67 if(!(errorActionPrefValues.has(errorActionPreference.toUpperCase()))) {
68 throw new Error(`Invalid errorActionPreference: ${errorActionPreference}`);
69 }
70}
71
72main()

Callers 1

validateInputsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…