small CLI CREATE fix
This commit is contained in:
parent
8446bce8e9
commit
6fea6ca66e
|
@ -121,7 +121,7 @@ public class Create implements Action
|
||||||
this.context = context;
|
this.context = context;
|
||||||
scanner = new Scanner(System.in);
|
scanner = new Scanner(System.in);
|
||||||
IS_WINDOWS = System.getProperty("os.name").toLowerCase().trim().startsWith("win");
|
IS_WINDOWS = System.getProperty("os.name").toLowerCase().trim().startsWith("win");
|
||||||
IS_CYGWIN = IS_WINDOWS && System.getenv("OSTYPE") == "cygwin";
|
IS_CYGWIN = IS_WINDOWS && "cygwin".equals(System.getenv("OSTYPE"));
|
||||||
|
|
||||||
context.out.println(String.format("Creating ActiveMQ Artemis instance at: %s", directory.getCanonicalPath()));
|
context.out.println(String.format("Creating ActiveMQ Artemis instance at: %s", directory.getCanonicalPath()));
|
||||||
if (host == null)
|
if (host == null)
|
||||||
|
|
Loading…
Reference in New Issue