Skip to content

Commit 7ae70a6

Browse files
save file
1 parent a691555 commit 7ae70a6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

utils/misc/nodejs-terminal/v2.0/nodejs-terminal-v2.0.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,11 @@
276276
var cur = {};
277277

278278

279-
var term;
280279
var webcontainer;
280+
281+
var term;
281282
var shell;
283+
var cwd;
282284

283285

284286
var blank;
@@ -465,6 +467,8 @@
465467
}//for
466468

467469

470+
await webcontainer.spawn('npm',['i'],{cwd});
471+
468472
log.green('done.');
469473

470474
}//https-server

0 commit comments

Comments
 (0)