From 7cd963c3443cc897d4378cb7f662b3e68c0b9fcf Mon Sep 17 00:00:00 2001 From: Jannis R Date: Tue, 23 Jan 2018 02:40:39 +0100 Subject: [PATCH] =?UTF-8?q?fix=20syntax=20error=20=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parse/line.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse/line.js b/parse/line.js index d4e7117e..79300c08 100644 --- a/parse/line.js +++ b/parse/line.js @@ -16,7 +16,7 @@ const createParseLine = (profile, operators) => { // This is terrible, but FPTF demands an ID. Let's pray for VBB to expose an ID. // todo: find a better way - else if (p.line) res.id = slugg(p.line.trim()) + if (p.line) res.id = slugg(p.line.trim()) else if (p.name) res.id = slugg(p.name.trim()) if (p.cls) res.class = p.cls