RamblingCookieMonster / PSDepend

PowerShell Dependency Handler
MIT License
285 stars 76 forks source link

Error when downloading a file #89

Closed lipkau closed 6 years ago

lipkau commented 6 years ago

This dependencies

    ModuleBuilder = @{
        DependencyType = 'FileDownload'
        Source = 'https://github.com/PoshCode/ModuleBuilder/archive/master.zip'
        Target = './Tools/ModuleBuilder'
    }

generates this error:

ERROR: Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
At C:\Users\olive\Documents\WindowsPowerShell\Modules\PSDepend\0.2.4\Public\Invoke-<DependencyScript.ps1:195 char:31
+                     $Output = . $DependencyScript @splat
+                               ~~~~~~~~~~~~~~~~~~~~~~~~~~
lipkau commented 6 years ago

Forgot to update to 0.2.5 Closing issue