[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.
Steps to reproduce
dsc resource list
Expected behavior
each adapter is only processed once
Actual behavior
each adapter is processed twice
Error details
This happens because we are adding the path to dsc.exe to paths, even if it is already there
https://github.com/mgreenegit/DSC/blob/4bb4b01e0eae26836c95b9fa339a32dec33fad85/dsc_lib/src/discovery/command_discovery.rs#L77-L78
Prerequisites
Steps to reproduce
dsc resource list
Expected behavior
Actual behavior
Error details
Environment data
Version
latest
Visuals
No response