liuweiGL / vite-plugin-mkcert

Provide certificates for vite's https dev service.
https://www.npmjs.com/package/vite-plugin-mkcert
MIT License
541 stars 37 forks source link

Path's with spaces run into issues #80

Closed ausernamedtom closed 5 months ago

ausernamedtom commented 5 months ago

Describe the bug

=> Failed to build the preview
Error: Command failed: " "C:\Users\Example User\.vite-plugin-mkcert\mkcert.exe" -CAROOT
'" "C:\Users\Example ' is not recognized as an internal or external command,
operable program or batch file.

PR incoming to escape 2 more instances of mkcert paths.

Reproduction

Have a path with a space for the user folder.