We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7664f7f commit bdbf1daCopy full SHA for bdbf1da
1 file changed
utils/misc/nodejs-terminal/v3.0/nodejs-terminal-v3.0.html
@@ -545,12 +545,19 @@
545
546
menu_callback['https-server'] = async function(){
547
548
+ if(!tabs.cur.view){
549
+ log.red('no active terminal');
550
+ return;
551
+ }
552
+
553
var cwd = tabs.cur.view.terminal.shell.cwd;
554
if(cwd===null){
555
term.writeln.red('can only install https-server relative to workdir');
556
return;
557
}
558
559
+ var term = tabs.cur.view.terminal.term;
560
561
var s;
562
term.writeln('');
563
term.write.green('installing https-server ... ');
0 commit comments