From 02278c870d5a15be41a540457d1e65c927e9f8a2 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 27 Feb 2024 09:13:51 +0800 Subject: [PATCH] fix: the plugin reports mkcert not recognized as an internal or external command when parentheses in the folder name close #83 --- plugin/mkcert/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/mkcert/index.ts b/plugin/mkcert/index.ts index 9d2093d..a2c96db 100644 --- a/plugin/mkcert/index.ts +++ b/plugin/mkcert/index.ts @@ -145,7 +145,8 @@ class Mkcert { } else if (await exists(this.savedMkcert)) { binary = this.savedMkcert } - return binary ? escape(binary) : undefined + + return binary } private async checkCAExists() {