From e1c185ced2e5897a9529e49d5996dc1e5e6cb062 Mon Sep 17 00:00:00 2001 From: v1ktor Date: Mon, 30 Sep 2019 23:13:03 +0300 Subject: [PATCH] Escape dirs in the yarn cmd (#1688) --- packages/insomnia-app/app/plugins/install.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/insomnia-app/app/plugins/install.js b/packages/insomnia-app/app/plugins/install.js index fbb690b36..3936485ac 100644 --- a/packages/insomnia-app/app/plugins/install.js +++ b/packages/insomnia-app/app/plugins/install.js @@ -133,9 +133,9 @@ async function _installPluginToTmpDir(lookupName: string): Promise<{ tmpDir: str 'add', lookupName, '--modules-folder', - tmpDir, + escape(tmpDir), '--cwd', - tmpDir, + escape(tmpDir), '--no-lockfile', '--production', '--no-progress',