提交 684fe360 编写于 作者: R Ryan Campbell

Don't prefix the masks if they are null (prevent NPE)

fix tabs
上级 f65c3484
......@@ -652,7 +652,9 @@ public abstract class Launcher {
@Override
public Proc launch(ProcStarter starter) throws IOException {
starter.commands.addAll(0,Arrays.asList(prefix));
starter.masks = prefix(starter.masks);
if (starter.masks != null) {
starter.masks = prefix(starter.masks);
}
return outer.launch(starter);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册