node-progress icon indicating copy to clipboard operation
node-progress copied to clipboard

passing string as total throws

Open thebigredgeek opened this issue 9 years ago • 2 comments

This is probably an idiotic error on my part, but it seems like passing an environment variable into "total" is a totally (wink) legit use case and it would be great if progress would parseInt the total option so I didn't have to do it myself?

thebigredgeek avatar May 20 '16 21:05 thebigredgeek

@tj you want me to add a typecheck, a more descriptive error, and docs?

thebigredgeek avatar May 20 '16 21:05 thebigredgeek

👍 SGTM. added you as a collaborator and npm, I'll move this over to visionmedia/* since it's community maintained

tj avatar May 20 '16 22:05 tj