diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-01-02 16:48:33 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-01-02 16:48:33 -0500 |
commit | d471ac296e2e6ca737781f80794a521b74ac75fb (patch) | |
tree | f20cfb05396910554db10e5feb0448b8719a76dc /src/SMAPI.Web/wwwroot/Content | |
parent | d1a829497292ea4c72da5f9bbfb3b50404e06022 (diff) | |
download | SMAPI-d471ac296e2e6ca737781f80794a521b74ac75fb.tar.gz SMAPI-d471ac296e2e6ca737781f80794a521b74ac75fb.tar.bz2 SMAPI-d471ac296e2e6ca737781f80794a521b74ac75fb.zip |
fix parse error for logs with zero installed mods
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content')
-rw-r--r-- | src/SMAPI.Web/wwwroot/Content/js/log-parser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js index 6cce1ce9..914863f6 100644 --- a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js +++ b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js @@ -175,7 +175,7 @@ smapi.logParser = function(sectionUrl, pasteID) { } var dataInfo = regexInfo.exec(data) || regexInfo.exec(data) || regexInfo.exec(data), - dataMods = regexMods.exec(data) || regexMods.exec(data) || regexMods.exec(data), + dataMods = regexMods.exec(data) || regexMods.exec(data) || regexMods.exec(data) || [""], dataDate = regexDate.exec(data) || regexDate.exec(data) || regexDate.exec(data), dataPath = regexPath.exec(data) || regexPath.exec(data) || regexPath.exec(data), match; |