Skip to content

Commit

Permalink
Correctly prefix "MissingDependency" messages
Browse files Browse the repository at this point in the history
  • Loading branch information
blast-hardcheese committed Dec 23, 2023
1 parent e2d3034 commit 0875ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/src/main/scala/Tasks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object Tasks {
println(s"${AnsiColor.RED}Missing argument:${AnsiColor.RESET} ${AnsiColor.BOLD}${arg}${AnsiColor.RESET} (In block ${args})")
throw new CodegenFailedException()
case MissingDependency(name) =>
println(s"""${AnsiColor.RED}Missing dependency:${AnsiColor.RESET} ${AnsiColor.BOLD}libraryDependencies += "dev.guardrail" %% "${name}" % "<check latest version>"${AnsiColor.RESET}""")
println(s"""${AnsiColor.RED}Missing dependency:${AnsiColor.RESET} ${AnsiColor.BOLD}libraryDependencies += "dev.guardrail" %% "guardrail-${name}" % "<check latest version>"${AnsiColor.RESET}""")
throw new CodegenFailedException()
case NoArgsSpecified =>
List.empty
Expand Down

0 comments on commit 0875ba9

Please sign in to comment.