mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-14 06:45:19 +00:00
improve welcome msg
This commit is contained in:
1 parent
3358f31841
commit
9f6cba09df
1 file changed
+1
-1
@@ -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