Skip to content

Commit

Permalink
Rename isYarn back to useYarn, call yarn instead of yarnpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Aug 25, 2023
1 parent 4f98186 commit 6dbe04d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sku/lib/install.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const spawn = require('cross-spawn');

module.exports = ({ deps, type, exact = true, verbose, isYarn }) =>
module.exports = ({ deps, type, exact = true, verbose, useYarn }) =>
new Promise((resolve, reject) => {
const command = isYarn ? 'yarnpkg' : 'npm';
const command = useYarn ? 'yarn' : 'npm';
const isDev = type === 'dev';

const args = isYarn
const args = useYarn
? [
'add',
isDev ? '--dev' : null,
Expand Down

0 comments on commit 6dbe04d

Please sign in to comment.