JustinGrote / SecretManagement.KeePass

MIT License
116 stars 22 forks source link

Test files in public folder cause error on import. #47

Closed tsmarvin closed 3 years ago

tsmarvin commented 3 years ago

Hello again!

I believe I've discovered another minor issue. The public test files under SecretManagement.KeePass\SecretManagement.KeePass.Extension\Public\*.Tests.ps1 cause errors during module import.

I am installing the module by downloading the repository from github (not the PSGallery). Using import-module on the most recent commit to main (11d45c7dafbb3f370521525ee411a9ba9dbdd684) causes this error: image

I am able to work around the problem by simply removing the Public\*.Tests.ps1 files and re-importing.

Thanks again for all your hard work!

JustinGrote commented 3 years ago

Good catch! I recently upgraded to press so the module loader may have forgotten to exclude the unit tests there.

JustinGrote commented 3 years ago

Fixed ab83ff6c8476312abbaae300b23c6f02687af10e and released as beta5

tsmarvin commented 3 years ago

Thanks again!