Skip to content

Commit d5859c5

Browse files
actual limit is 5mb
1 parent 1126e98 commit d5859c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/commands/vfs.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ export const commands = {
226226
return;
227227
}
228228

229-
if (file.size > 512 * 1024) {
230-
term.writeln('\r\nFile is too large. Maximum size is 512 KB.');
229+
if (file.size > 5000 * 1024) {
230+
term.writeln('\r\nFile is too large. Maximum size is 5000 KB.');
231231
resolve();
232232
return;
233233
}
@@ -299,8 +299,8 @@ export const commands = {
299299

300300
storage: (term) => {
301301
term.writeln('\r\nVirtual File System Storage:');
302-
term.writeln(`${getSizeInKB(vfs).toFixed(2)} KB / 512 KB`);
302+
term.writeln(`${getSizeInKB(vfs).toFixed(2)} KB / 5000 KB`);
303303
term.writeln(`(${Object.keys(vfs).length} files)`);
304-
term.writeln(`(${(getSizeInKB(vfs) / 512 * 100).toFixed(2)}% used)`);
304+
term.writeln(`(${(getSizeInKB(vfs) / 5000 * 100).toFixed(2)}% used)`);
305305
}
306306
};

0 commit comments

Comments
 (0)