Skip to content

Commit 5eb9a33

Browse files
save file
1 parent 793ee8a commit 5eb9a33

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

utils/misc/nodejs-terminal/html/webcontainer-fs/webcontainer-fs.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,9 @@
271271
}//upload
272272

273273

274-
file.download = async function(path){console.log(arguments);
275-
debug('file.download',path);
274+
file.download = async function(path,name){
275+
debug('file.download',path,name);
276+
var abs = path+name;
276277
var uint8 = await webcontainer.fs.readFile(path);
277278
var blob = new Blob([uint8]);
278279
return {result:false,blob};

0 commit comments

Comments
 (0)