create-simple-icon icon indicating copy to clipboard operation
create-simple-icon copied to clipboard

Spaces in icon name break csi

Open sebastianrath opened this issue 4 years ago • 0 comments

Unable to download icon via csi if the icon name contains a space

$ csi "adobe photoshop"
Generating your Icon...writeFile
$ csi "Adobe Photoshop"
Generating your Icon...writeFile
$ csi "adobephotoshop"
Unhandled rejection TypeError: Cannot read property 'hex' of undefined

https://github.com/peterpme/create-simple-icon/blob/d0c012ac29063e0dc6a958856741f4ebad997fc1/index.js#L15

sebastianrath avatar Oct 10 '21 16:10 sebastianrath