Skip to content

Commit

Permalink
fix detecting yarn (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeetiss authored and Eunjae Lee committed Oct 31, 2019
1 parent e31a79c commit 7aa393a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shipjs/src/step/setup/addDevDependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import path from 'path';

export default ({ dependencies, dir }) =>
runStep({ title: 'Installing Ship.js' }, () => {
const command = detectYarn
const command = detectYarn(dir)
? `yarn add -D ${dependencies.join(' ')}${
usesYarnWorkspace(dir) ? ' -W' : ''
}`
Expand Down

0 comments on commit 7aa393a

Please sign in to comment.