From 9fbeb61ff7af0872cd5e11c97dc257974e77d486 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Thu, 15 Jun 2017 15:37:18 +0200 Subject: [PATCH] Prettified arrow function --- lib/utils/input/text.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/utils/input/text.js b/lib/utils/input/text.js index 6bb8720..f8d4540 100644 --- a/lib/utils/input/text.js +++ b/lib/utils/input/text.js @@ -16,7 +16,9 @@ const ESCAPES = { CARRIAGE: '\r' } -const formatCC = data => data.replace(/\s/g, '').replace(/(.{4})/g, '$1 ').trim() +const formatCC = data => { + return data.replace(/\s/g, '').replace(/(.{4})/g, '$1 ').trim() +} module.exports = function( {