From 34d89bfd3536d01f675a4a834c99f9b002096fd2 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Thu, 25 Jan 2024 13:01:15 +0100 Subject: [PATCH] Fix linting error --- lib/baseNumber.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/baseNumber.js b/lib/baseNumber.js index 6f3dc49..c44e4fc 100644 --- a/lib/baseNumber.js +++ b/lib/baseNumber.js @@ -9,7 +9,9 @@ const isElemental = (members, i) => export const markAtomicMembers = members => { const membersNonNull = members.filter(Boolean) - if (!membersNonNull.length) return members + if (!membersNonNull.length) { + return members + } let first = 0 while (first < membersNonNull.length && membersNonNull[first].notation[1][0] !== "-") {