mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
improve welcome msg
This commit is contained in:
@@ -33,7 +33,7 @@ public class ArthasBanner {
|
||||
THANKS = IOUtils.toString(ShellServerOptions.class.getResourceAsStream(CREDIT_LOCATION));
|
||||
InputStream versionInputStream = ShellServerOptions.class.getResourceAsStream(VERSION_LOCATION);
|
||||
if (versionInputStream != null) {
|
||||
VERSION = IOUtils.toString(versionInputStream);
|
||||
VERSION = IOUtils.toString(versionInputStream).trim();
|
||||
} else {
|
||||
String implementationVersion = ArthasBanner.class.getPackage().getImplementationVersion();
|
||||
if (implementationVersion != null) {
|
||||
|
||||
Reference in New Issue
Block a user