Skip to content
New issue

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

Unable to Import PowerSTIG 4.4.0 Due to cyclic dependency Error #617

Merged
merged 18 commits into from
May 19, 2020
Merged
Prev Previous commit
Next Next commit
updated formating
  • Loading branch information
erjenkin committed May 14, 2020
commit 06e157ad1bbc7a9986e6858f18aee4814822c12e
2 changes: 1 addition & 1 deletion source/PowerStig.ModuleHelper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $requiredmodules = @(

foreach($module in $requiredmodules)
{
if(Get-Module -ListAvailable -Name $module.ModuleName)
if(Get-Module -ListAvailable -Name $($module.ModuleName))
{
import-module -Name $module.ModuleName -version $module.ModuleVersion
}
Expand Down