Skip to content

Commit 277959e

Browse files
save file
1 parent 5eb9a33 commit 277959e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,10 @@
274274
file.download = async function(path,name){
275275
debug('file.download',path,name);
276276
var abs = path+name;
277+
277278
var uint8 = await webcontainer.fs.readFile(path);
278279
var blob = new Blob([uint8]);
280+
279281
return {result:false,blob};
280282

281283
}//download

0 commit comments

Comments
 (0)