Skip to content

Commit e80df26

Browse files
authored
Merge pull request sbt#6305 from etspaceman/patch-2
Fix SBT Warn on slow HostName
2 parents 8d8a376 + b2363db commit e80df26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/src/main/scala/sbt/JUnitXmlTestsListener.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class JUnitXmlTestsListener(val outputDir: String, legacyTestReport: Boolean, lo
5151
logger.warn(
5252
s"Getting the hostname $name was slow (${elapsed / 1.0e6} ms). " +
5353
"This is likely because the computer's hostname is not set. You can set the " +
54-
"hostname with the command: scutil --set HostName $(scutil --get LocalHostName)."
54+
"""hostname with the command: scutil --set HostName "$(scutil --get LocalHostName).local"."""
5555
)
5656
}
5757
name

0 commit comments

Comments
 (0)