diff --git a/Box.js b/Box.js index 1ec9c16..c5e2790 100644 --- a/Box.js +++ b/Box.js @@ -1,11 +1,11 @@ -#!/usr/bin/env node +#!/usr/bin/env node const fs = require("fs").promises; const path = require("path"); const Table = require("cli-table"); const rootDirectory = "./"; async function getDirectorySize(dirPath) { let totalSize = 0; - + const files = await fs.readdir(dirPath); for (const file of files) {