Skip to content

Commit

Permalink
(yo) Changed to use '-UseBasicParsing'
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Jun 15, 2018
1 parent eaf450f commit 5a85e08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions automatic/yo/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function global:au_SearchReplace {
}

function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

#https://github.com/yeoman/yo/archive/v1.8.5.zip
$re = "(.*).zip"
Expand All @@ -20,9 +20,9 @@ function global:au_GetLatest {

$version = [IO.Path]::GetFileNameWithoutExtension($file)

@{
Version = $version
@{
Version = $version
}
}

update -ChecksumFor none
update -ChecksumFor none

0 comments on commit 5a85e08

Please sign in to comment.