Skip to content

Commit

Permalink
fix: pass --verbose to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 25, 2018
1 parent 761f251 commit 1c7dc0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ export default class Yarn {
`--preferred-cache-folder=${cacheDir}`,
'--check-files',
]
if (opts.verbose) {
args.push('--verbose')
}
if (this.config.npmRegistry) {
args.push(`--registry=${this.config.npmRegistry}`)
}
Expand Down

0 comments on commit 1c7dc0e

Please sign in to comment.