This commit is contained in:
Travis CI 2016-11-28 00:40:22 +00:00
parent 13d224c6dc
commit 0b50e21a1f
2 changed files with 2 additions and 2 deletions

View file

@ -10675,7 +10675,7 @@ class ClientDataResolver {
req.end((err, res) => {
if (err) return reject(err);
if (this.client.browser) return resolve(convertArrayBuffer(res.xhr.response));
if (!(res.body instanceof Buffer)) return reject(new TypeError('Body is not a Buffer'));
if (!(res.body instanceof Buffer)) return reject(new TypeError('The response body isn\'t a Buffer.'));
return resolve(res.body);
});
} else {

File diff suppressed because one or more lines are too long