Skip to content

Commit a2dba5f

Browse files
save file
1 parent 48c234e commit a2dba5f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,9 @@
871871

872872
mod.stack.complete;
873873

874+
term.write('node ');
874875
await spawn('node -v');
876+
term.write('npm ');
875877
await spawn('npm -v');
876878

877879

@@ -961,7 +963,7 @@
961963
//:
962964

963965

964-
async spawn(cmdline){
966+
async function spawn(cmdline){
965967

966968
var args = cmdline.split(' ');
967969
var cmd = args.shift();

0 commit comments

Comments
 (0)