From 74fbfdb4620446d12a3eee7d57abccc0819f8ec4 Mon Sep 17 00:00:00 2001 From: Douglas Thomsen Date: Wed, 21 Aug 2024 15:34:14 -0600 Subject: [PATCH] Update error message. --- .../src/main/scala/codeartifact/CodeArtifactPlugin.scala | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sbt-codeartifact/src/main/scala/codeartifact/CodeArtifactPlugin.scala b/sbt-codeartifact/src/main/scala/codeartifact/CodeArtifactPlugin.scala index 47c0fa0..17b9585 100644 --- a/sbt-codeartifact/src/main/scala/codeartifact/CodeArtifactPlugin.scala +++ b/sbt-codeartifact/src/main/scala/codeartifact/CodeArtifactPlugin.scala @@ -54,16 +54,11 @@ object CodeArtifactPlugin extends AutoPlugin { | |The AWS CodeArtifact sbt plugin was not able to get a valid auth token. If you recieve and error due to |the a dependency not being found then it could be caused by this. - | |""".stripMargin ) codeArtifactGetTokenInstructions.value.foreach { instructions => - streams.value.log.warn( - s""" - | ${instructions} - |""".stripMargin - ) + streams.value.log.warn(instructions + "\n") } "" }