Fix typo
This commit is contained in:
parent
c4add8f142
commit
334c0d933b
|
@ -41,7 +41,7 @@ function testUrl(url, cb, redirected) {
|
||||||
|
|
||||||
if (res.statusCode === 301 || res.statusCode === 302) {
|
if (res.statusCode === 301 || res.statusCode === 302) {
|
||||||
if (redirected) {
|
if (redirected) {
|
||||||
return cb("Too many redirects. Please provide a direct link to the "
|
return cb("Too many redirects. Please provide a direct link to the " +
|
||||||
"file");
|
"file");
|
||||||
}
|
}
|
||||||
return testUrl(res.headers['location'], cb, true);
|
return testUrl(res.headers['location'], cb, true);
|
||||||
|
|
Loading…
Reference in a new issue