Skip to content
This repository was archived by the owner on May 4, 2025. It is now read-only.

Commit a20e875

Browse files
authored
Merge pull request #32 from ckipp01/stripMargin
fix: use stripMargin you noob
2 parents 614032b + 9f49474 commit a20e875

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/io/kipp/mill/github/dependency/graph/Github.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ object Github {
5050
|
5151
|We submitted dependencies for ${manifestModules} modules.
5252
|This was a total of ${totalDependencies} dependencies.
53-
|""")
53+
|""".stripMargin)
5454
} else if (result.statusCode == 404) {
5555
val msg =
5656
"""Encountered a 404, make sure you have "Dependency Graph" enabled under "Settings -> Code Security and analysis""""
@@ -64,7 +64,7 @@ object Github {
6464
val msg =
6565
s"""It looks like something went wrong when trying to submit your dependnecy graph.
6666
|
67-
|[${result.statusCode}] ${result.statusMessage}"""
67+
|[${result.statusCode}] ${result.statusMessage}""".stripMargin
6868
throw new Exception(msg)
6969
}
7070
}

0 commit comments

Comments
 (0)