Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexplischke committed Aug 1, 2024
1 parent 5cd3714 commit 872191a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default class NPM {
let p;

if (nodeCtx.useGlobals) {
p = spawn("npm", ['install', ...pkgs], { shell: true });
p = spawn('npm', ['install', ...pkgs], { shell: true });
} else {
p = spawn(nodeCtx.nodePath, [nodeCtx.npmPath, 'install', ...pkgs]);
}
Expand Down Expand Up @@ -72,7 +72,7 @@ export default class NPM {
let p;

if (nodeCtx.useGlobals) {
p = spawn("npm", ['config', 'set', ...args], { shell: true });
p = spawn('npm', ['config', 'set', ...args], { shell: true });
} else {
p = spawn(nodeCtx.nodePath, [
nodeCtx.npmPath,
Expand All @@ -97,7 +97,7 @@ export default class NPM {
return new Promise((resolve) => {
let p;
if (nodeCtx.useGlobals) {
p = spawn("npm", ['rebuild', ...args], { shell: true });
p = spawn('npm', ['rebuild', ...args], { shell: true });
} else {
p = spawn(nodeCtx.nodePath, [nodeCtx.npmPath, 'rebuild', ...args]);
}
Expand Down

0 comments on commit 872191a

Please sign in to comment.