Add semicolon for tdd exports

This commit is contained in:
Angelos Chalaris
2018-02-04 17:38:39 +02:00
parent 9bded90056
commit 89f572efbc
290 changed files with 291 additions and 291 deletions

View File

@ -2,4 +2,4 @@ const flatten = (arr, depth = 1) =>
depth != 1
? arr.reduce((a, v) => a.concat(Array.isArray(v) ? flatten(v, depth - 1) : v), [])
: arr.reduce((a, v) => a.concat(v), []);
module.exports = flatten
module.exports = flatten;