refactor: 保留 cloud模式下的 "run" 和 "-debug" 标志
This commit is contained in:
parent
6f81feab3f
commit
ebb9524db0
@ -60,10 +60,10 @@ public final class CompileCommand implements CLICommand {
|
|||||||
|
|
||||||
List<String> argList = new ArrayList<>();
|
List<String> argList = new ArrayList<>();
|
||||||
|
|
||||||
// 保留用户在 cloud 模式下传入的 “run” 标志
|
// 保留用户在 cloud 模式下传入的 “run” / “-debug” 标志
|
||||||
for (String a : args) {
|
for (String a : args) {
|
||||||
if ("run".equals(a)) {
|
if ("run".equals(a) || "-debug".equals(a)) {
|
||||||
argList.add("run");
|
argList.add(a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user