mirror of https://github.com/sbt/sbt.git
Merge pull request #6305 from etspaceman/patch-2
Fix SBT Warn on slow HostName
This commit is contained in:
commit
e80df26e7b
|
|
@ -51,7 +51,7 @@ class JUnitXmlTestsListener(val outputDir: String, legacyTestReport: Boolean, lo
|
||||||
logger.warn(
|
logger.warn(
|
||||||
s"Getting the hostname $name was slow (${elapsed / 1.0e6} ms). " +
|
s"Getting the hostname $name was slow (${elapsed / 1.0e6} ms). " +
|
||||||
"This is likely because the computer's hostname is not set. You can set the " +
|
"This is likely because the computer's hostname is not set. You can set the " +
|
||||||
"hostname with the command: scutil --set HostName $(scutil --get LocalHostName)."
|
"""hostname with the command: scutil --set HostName "$(scutil --get LocalHostName).local"."""
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
name
|
name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue