Get-LocalizedDataRecursive
: Exception is never thrown when $BaseDirectory
is not passed
#17
Labels
bug
The issue is a bug.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
help wanted
The issue is up for grabs for anyone in the community.
Should this line be
elseif (-not [System.String]::IsNullOrEmpty($BaseDirectory))
to solve that thethrow
statement is never reached?DscResource.Base/source/Private/Get-LocalizedDataRecursive.ps1
Line 83 in 8391fad
It looks like the line should be changed to what is suggested above, but that will fail the test, and looking at this it need to be looked at further to see if it should be refactored in some way depending on how the function is used from the classes (how
ImportLocalization()
is used).The text was updated successfully, but these errors were encountered: