@jsenv/https-local 3.0.5 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/https-local",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "A programmatic way to generate locally trusted certificates",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -66,7 +66,7 @@ export const executeTrustQueryOnWindows = async ({
66
66
  }
67
67
 
68
68
  // https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/certutil#-addstore
69
- const certutilAddCommand = `certutil -addstore -user root ${certificateFilePath}`
69
+ const certutilAddCommand = `certutil -addstore -user root "${certificateFilePath}"`
70
70
  logger.info(`Adding certificate to windows...`)
71
71
  logger.info(`${UNICODE.COMMAND} ${certutilAddCommand}`)
72
72
  try {