get export working with no arguments

This commit is contained in:
Lisa Milne 2023-11-13 09:34:59 +10:00
parent df55e9f3ad
commit 781b9d1acc

View file

@ -1370,7 +1370,7 @@ clite.shell = {
},
export:function(args,io) {
if (args.length == 1) {
Object.keys(clite.shell.env,function(key) {
Object.keys(clite.shell.env).forEach(function(key) {
io.write(key+'='+clite.shell.env[key]);
});
return;