diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 16:21:01 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 16:21:01 +0200 |
| commit | 4238c545b27a0c99e1e29a59ec2b16fa28f1a4a2 (patch) | |
| tree | e612cf89e023425ef9dbe47ae3d8a81ae63033dc /public/bundle.js | |
| parent | b700116b56fa58ad23f6bc2c351bf8ab5b294adc (diff) | |
whmmm
Diffstat (limited to 'public/bundle.js')
| -rw-r--r-- | public/bundle.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/public/bundle.js b/public/bundle.js index 204198e..90a5d95 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -4448,6 +4448,8 @@ var load_directories = exports.load_directories = function load_directories() { }).map(function (s) { var checkpoint = s.name.split('-').map(function (s) { return s.split(':'); + }).filter(function (b) { + return b.length; }).reduce(function (a, b) { return (a[b[0]] = b[1]) && a; }, {}); @@ -4471,10 +4473,12 @@ var load_directories = exports.load_directories = function load_directories() { file.log = lines.map(function (s) { return s.split('\t'); }).map(function (s) { - return s.split(': '); - }).reduce(function (a, b) { - return (a[b[0]] = b[1]) && a; - }, {}); + return s.split(': ').filter(function (b) { + return b.length; + }).reduce(function (a, b) { + return (a[b[0]] = b[1]) && a; + }, {}); + }); }); dispatch({ |
