mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-03 03:10:34 +00:00
Fix NPE
This commit is contained in:
@@ -26,6 +26,10 @@ public class RunTerminalScriptActionProvider implements ActionProvider {
|
||||
public void executeImpl() throws Exception {
|
||||
var sc = ref.getStore().getOrStartSession();
|
||||
var script = scriptStore.getStore().assembleScriptChain(sc, false);
|
||||
if (script == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
TerminalLaunch.builder()
|
||||
.entry(ref.get())
|
||||
.title(scriptStore.get().getName())
|
||||
|
||||
Reference in New Issue
Block a user