aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fetchDependency.ps13
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/fetchDependency.ps1 b/scripts/fetchDependency.ps1
index 2ba98ab23..58f64b626 100644
--- a/scripts/fetchDependency.ps1
+++ b/scripts/fetchDependency.ps1
@@ -13,7 +13,8 @@ function Test-Module($moduleName)
return [bool](Get-Module -ListAvailable -Name $moduleName)
}
-if ($PSVersionTable.PSEdition -ne "Core") {
+if (Test-Module -moduleName 'BitsTransfer')
+{
Import-Module BitsTransfer -Verbose:$false
}