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

Escape yarn paths #1699

Merged
merged 1 commit into from Oct 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/insomnia-app/app/plugins/install.js
Expand Up @@ -63,7 +63,7 @@ async function _isInsomniaPlugin(lookupName: string): Promise<Object> {
escape(process.execPath),
[
'--no-deprecation', // Because Yarn still uses `new Buffer()`
_getYarnPath(),
escape(_getYarnPath()),
'info',
lookupName,
'--json',
Expand Down Expand Up @@ -129,7 +129,7 @@ async function _installPluginToTmpDir(lookupName: string): Promise<{ tmpDir: str
escape(process.execPath),
[
'--no-deprecation', // Because Yarn still uses `new Buffer()`
_getYarnPath(),
escape(_getYarnPath()),
'add',
lookupName,
'--modules-folder',
Expand Down