There was an error while loading. Please reload this page.
1 parent 6295970 commit 9330326Copy full SHA for 9330326
readme.md
@@ -72,7 +72,8 @@ const glob = require('glob');
72
73
glob('./*', (err, files) => {
74
// files is an array of filenames.
75
- for(let file of files) {
+ for (let file of files) {
76
+ const size = fileBytes(file);
77
console.log(`"${file}" is ${size} bytes`);
78
}
79
});
0 commit comments