Skip to content
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

mkdir error if filename containt space(s) #18

Open
xerc opened this issue Nov 18, 2022 · 0 comments
Open

mkdir error if filename containt space(s) #18

xerc opened this issue Nov 18, 2022 · 0 comments

Comments

@xerc
Copy link

xerc commented Nov 18, 2022

ver. 5.0.0

fs.mkdirSync(dir, { recursive: true });

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'
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

No branches or pull requests

1 participant