File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3333 case "${REQUESTED_VERSION:-}" in
3434 [Ll][Aa][Tt][Ee][Ss][Tt])
3535 REQUESTED_VERSION=$(
36- curl -s https://api.github.com/repos/PowerShell/PowerShell/releases/latest |
36+ curl -sf https://api.github.com/repos/PowerShell/PowerShell/releases/latest |
3737 grep '"tag_name"' | head -n1 |
3838 sed -E 's/.*"v?([^"]+)".*/\1/'
3939 )
9696 # Only resolve to latest version if explicitly set to 'latest'
9797 if [[ "$REQ_VER_LOWER" == "latest" ]]; then
9898 REQUESTED_VERSION=$(
99- curl -s https://api.github.com/repos/PowerShell/PowerShell/releases/latest |
99+ curl -sf https://api.github.com/repos/PowerShell/PowerShell/releases/latest |
100100 grep '"tag_name"' | head -n1 |
101101 sed -E 's/.*"v?([^"]+)".*/\1/'
102102 )
You can’t perform that action at this time.
0 commit comments