From 61325bdb134dc2270f69da0d4261c879026331a5 Mon Sep 17 00:00:00 2001 From: Julius Tens Date: Sun, 18 Mar 2018 13:01:07 +0100 Subject: [PATCH] code style --- p/nahsh/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/p/nahsh/index.js b/p/nahsh/index.js index 8490628e..92b28e5e 100644 --- a/p/nahsh/index.js +++ b/p/nahsh/index.js @@ -85,8 +85,7 @@ const createParseJourney = (profile, stations, lines, remarks) => { if (v.prc && Number.isInteger(v.prc) && v.cur) { ticket.amount = v.prc/100 ticket.currency = v.cur - } - else { + } else { ticket.amount = null ticket.hint = 'No pricing information available.' }