Skip to content

Commit 06e9277

Browse files
committed
🐛 fix bug space in prefix
On branch fix/#70/problem-with-space-in-prefix Changes to be committed: modified: src/set-mask.ts
1 parent 1c568de commit 06e9277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/set-mask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function setMask(
155155
continue;
156156
}
157157

158-
if (Number.isNaN(Number(character))) continue;
158+
if (Number.isNaN(Number(character)) || character === ' ') continue;
159159

160160
thousandsCounter -= 1;
161161

0 commit comments

Comments
 (0)