mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-16 10:43:42 +00:00
Compare commits
2 Commits
ed6b1092ed
...
7e73d634b1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7e73d634b1 | ||
![]() |
79737fe6bb |
@ -17,7 +17,7 @@ nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh" >/de
|
||||
! nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/wrong_install.sh" >/dev/null || die "nvm_download should fail to download no existing file"
|
||||
|
||||
# nvm_download should pass when calling with auth header
|
||||
docker pull kennethreitz/httpbin && docker run -d --name httpbin -p 80:80 kennethreitz/httpbin
|
||||
docker pull kennethreitz/httpbin && docker run --shell=bash -d --name httpbin -p 80:80 kennethreitz/httpbin
|
||||
sleep 1 # wait for httpbin to start
|
||||
NVM_AUTH_HEADER="Bearer test-token" nvm_download "http://127.0.0.1/bearer" > /dev/null || die 'nvm_download with auth header should send correctly'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user