Skip to content

fix 'undefined' when using empty string delimiter #578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 19, 2020

Conversation

maxim-c
Copy link
Contributor

@maxim-c maxim-c commented Apr 17, 2020

e.g using options for something like this (111) 111 1111

prefix: '(',
blocks: [1, 3, 3, 4],
delimiters: ['', ') ', ' '],

produce (undefined111) 111 1111

@maxim-c maxim-c changed the title fix 'undefined' prefix when using empty string delimiter fix 'undefined' when using empty string delimiter Apr 17, 2020
@nosir nosir merged commit 3f773c4 into nosir:master May 19, 2020
@nosir
Copy link
Owner

nosir commented May 19, 2020

thanks, released in 1.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants