Skip to content

Commit

Permalink
More logging when installing transpilation plugins (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-leuthaeuser authored Jul 26, 2022
1 parent 04334d4 commit 84c16a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ case class TranspilerGroup(override val config: Config, override val projectPath
logger.info("\t+ Plugins installed")
true
case Failure(exception) =>
logger.warn("\t- Failed to install plugins", exception)
logger.error("\t- Failed to install plugins", exception)
false
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ trait TranspilingEnvironment {
case Some(value) =>
value
case None =>
nodeVersion()
isValid = Some((pnpmAvailable(dir) || yarnAvailable() || npmAvailable()) && setNpmPython())
isValid.get
}
Expand Down

0 comments on commit 84c16a9

Please sign in to comment.