We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executing
ConfigInstructions Name { Get-DscResource TestStub | Import-DscResource Get-DscResource TestStub | Import-DscResource TestStub a @{ Key = 'a' } }
raises the exception
Duplicate resource named TestStub At C:\Users\un1\Documents\WindowsPowerShell\Modules\ZeroDSC\Functions\configDocumentType.ps1:94 char:17 + throw [System.FormatException]::new( + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], FormatException + FullyQualifiedErrorId : Duplicate resource named TestStub
The file name and line number of the second Import-DscResource should be reported in the exception.
Import-DscResource
A test for this behavior is already mentioned in configDocumentType.Tests.ps1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Executing
raises the exception
The file name and line number of the second
Import-DscResource
should be reported in the exception.A test for this behavior is already mentioned in configDocumentType.Tests.ps1
The text was updated successfully, but these errors were encountered: