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 (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");
|
||||
}
|
||||
return testUrl(res.headers['location'], cb, true);
|
||||
|
|
Loading…
Reference in a new issue