Skip to content

Commit

Permalink
fix add --silent to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jan 8, 2020
1 parent 764a236 commit 2c265fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/installer/__tests__/__snapshots__/getScript.ts.snap
Expand Up @@ -71,7 +71,7 @@ cd \\".\\"
case $packageManager in
\\"npm\\") run_command npx --no-install;;
\\"pnpm\\") run_command pnpx --no-install;;
\\"yarn\\") run_command yarn;;
\\"yarn\\") run_command yarn run --silent;;
\\"*\\") echo \\"Unknow package manager: $packageManager\\"; exit 0;;
esac
"
Expand Down
2 changes: 1 addition & 1 deletion src/installer/getScript.ts
Expand Up @@ -97,7 +97,7 @@ cd "${relativeUserPkgDir}"
case $packageManager in
"npm") run_command npx --no-install;;
"pnpm") run_command pnpx --no-install;;
"yarn") run_command yarn;;
"yarn") run_command yarn run --silent;;
"*") echo "Unknow package manager: $packageManager"; exit 0;;
esac
`
Expand Down

0 comments on commit 2c265fb

Please sign in to comment.