You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: src/dnvm.sh
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,11 @@ __dnvm_download() {
162
162
163
163
local httpResult=$(curl -L -D - "$url" -o "$runtimeFile" -# | grep "^HTTP/1.1"| head -n 1 | sed "s/HTTP.1.1 \([0-9]*\).*/\1/")
164
164
165
-
[[ $httpResult=="404" ]] &&printf"%b\n""${Red}$runtimeFullName was not found in repository $DNX_ACTIVE_FEED${RCol}"&&return 1
165
+
if [[ $httpResult=="404" ]];then
166
+
printf"%b\n""${Red}$runtimeFullName was not found in repository $DNX_ACTIVE_FEED${RCol}"
167
+
printf"%b\n""${Cya}This is most likely caused by the feed not having the version that you typed. Check that you typed the right version and try again. Other possible causes are the feed doesn't have a $DNVM_RUNTIME_SHORT_NAME of the right name format or some other error caused a 404 on the server.${RCol}"
0 commit comments