Skip to content

Commit

Permalink
fix: handle spaces in node/npm path
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Nov 13, 2023
1 parent b6b93fe commit 8c9f799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export default class Plugins {
this.debug(`Using node executable located at: ${nodeExecutable}`)
this.debug(`Using npm executable located at: ${npmCli}`)

const command = `${nodeExecutable} ${npmCli} show ${name} dist-tags`
const command = `"${nodeExecutable}" "${npmCli}" show ${name} dist-tags`

let npmShowResult
try {
Expand Down

0 comments on commit 8c9f799

Please sign in to comment.