mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
added first drop of list-repositories command
This commit is contained in:
@@ -46,6 +46,7 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import sonia.scm.util.IOUtil;
|
||||
import sonia.scm.util.Util;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
@@ -134,7 +135,7 @@ public class SubCommandHandler extends OptionHandler<SubCommand>
|
||||
@Override
|
||||
public String getDefaultMetaVariable()
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
return "metaVar_command";
|
||||
}
|
||||
|
||||
//~--- methods --------------------------------------------------------------
|
||||
@@ -181,7 +182,7 @@ public class SubCommandHandler extends OptionHandler<SubCommand>
|
||||
{
|
||||
line = line.trim();
|
||||
|
||||
if (!line.startsWith("#"))
|
||||
if (Util.isNotEmpty(line) &&!line.startsWith("#"))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user