fix code style issues, make travis-ci happy

This commit is contained in:
Geng Shenghong 2017-09-08 15:43:29 +08:00
parent 6fc4832f97
commit d05faba7fd

View file

@ -68,7 +68,7 @@ class WebHelper extends Helper {
if (urlFunction) {
const url = urlFunction(asset);
nets({ url: url }, function(err, resp, body) {
nets({url: url}, (err, resp, body) => {
// body is a Buffer
if (err) {
tryNextSource();