mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-26 14:45:44 +00:00
show file size, on next step too
This commit is contained in:
@@ -42,6 +42,8 @@ export const setupFetchMock = () => {
|
||||
);
|
||||
if (fs.existsSync(filePath)) {
|
||||
console.log(`file exists ${filePath}`);
|
||||
const stat = fs.statSync(filePath);
|
||||
console.log(`file size ${stat.size}`);
|
||||
} else {
|
||||
console.error(`file does not exist ${filePath}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user