From 65245a8251c728feb39a94455d850fc27cc5abfe Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 2 Jun 2018 16:25:31 +0200 Subject: whmmm --- public/bundle.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'public/bundle.js') diff --git a/public/bundle.js b/public/bundle.js index 956943d..02003a0 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -4471,13 +4471,11 @@ var load_directories = exports.load_directories = function load_directories() { var file = fileLookup[name] || fileLookup.unsorted; file.log = lines.map(function (s) { - return s.split('\t'); - }).map(function (s) { - return s.split(': ').filter(function (b) { - return b.length; - }).reduce(function (a, b) { - return (a[b[0]] = b[1]) && a; - }, {}); + return s.split('\t').map(function (s) { + return s.split(': ').reduce(function (a, b) { + return (a[b[0]] = b[1]) && a; + }, {}); + }); }); }); -- cgit v1.2.3-70-g09d2