`mkdir` error if filename containt space(s)
xerc opened this issue · 0 comments
xerc commented
ver. 5.0.0
glyphhanger/src/GlyphHangerFontFace.js
Line 84 in 6b27380
zsh@osx
$ glyphhanger --subset="New Font.ttf" --formats=woff,woff2,woff-zopfli --json --css
$ glyphhanger --subset=New\ Font.ttf --formats=woff,woff2,woff-zopfli --json --css
Writing CSS file: New Font.css
GlyphHangerFontFace Error: Error: ENOENT: no such file or directory, mkdir
at Object.mkdirSync (node:fs:1389:3)
at GlyphHangerFontFace.writeCSSFiles (/usr/local/lib/node_modules/glyphhanger/src/GlyphHangerFontFace.js:84:7)
at /usr/local/lib/node_modules/glyphhanger/cmd.js:143:14 {
errno: -2,
syscall: 'mkdir',
code: 'ENOENT'