We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3feccb7 commit 98b8346Copy full SHA for 98b8346
1 file changed
ModuleFast.psm1
@@ -1061,6 +1061,15 @@ function ConvertFrom-PSDepend {
1061
)
1062
1063
$initialSpec = [ordered]@{}
1064
+
1065
+ if ($PSDependManifest.ContainsKey('PSDependOptions')) {
1066
+ $options = $PSDependManifest['PSDependOptions']
1067
+ if ($options.DependencyType) {
1068
+ throw [NotSupportedException]"PSDepend Parse: Top-Level DependencyType in PSDependOptions is not currently supported."
1069
+ }
1070
+ $PSDependManifest.Remove('PSDependOptions')
1071
1072
1073
foreach ($key in $PSDependManifest.Keys) {
1074
$value = $PSDependManifest[$key]
1075
0 commit comments