Skip to content

Commit

Permalink
fix(linter): Fix Arrow function should not return assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
lgaticaq committed Apr 5, 2017
1 parent 809e47d commit 24aa37f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ const getZip = data => {
} else {
res.setEncoding('utf8');
let rawData = '';
res.on('data', chunk => rawData += chunk);
res.on('data', chunk => {
rawData += chunk;
});
res.on('end', () => {
try {
const $ = cheerio.load(rawData, {decodeEntities: false});
Expand Down

0 comments on commit 24aa37f

Please sign in to comment.