Skip to content

Commit

Permalink
fix yarn debug logging for typescript (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
maltek authored Sep 8, 2022
1 parent 6e6977c commit f509422
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ class TypescriptTranspiler(override val config: Config, override val projectPath
s"${TranspilingEnvironment.PNPM_ADD} typescript"
} else if (yarnAvailable()) {
if (logger.isDebugEnabled)
s"${TranspilingEnvironment.YARN_ADD} typescript"
else
s"${TranspilingEnvironment.YARN_ADD} -v typescript"
else
s"${TranspilingEnvironment.YARN_ADD} typescript"
} else {
s"${TranspilingEnvironment.NPM_INSTALL} typescript"
}
Expand Down

0 comments on commit f509422

Please sign in to comment.