Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Jan 25, 2024
1 parent 123d896 commit 34d89bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/baseNumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] !== "-") {
Expand Down

0 comments on commit 34d89bf

Please sign in to comment.