Skip to content

Commit

Permalink
Remove variable rename
Browse files Browse the repository at this point in the history
  • Loading branch information
atjn committed Jul 20, 2024
1 parent 5fff0db commit c9db434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { join as joinPaths } from "node:path";
import { join } from "node:path";

export default async function getFolderSize(itemPath, options) {
return await core(itemPath, options, { errors: true });
Expand Down Expand Up @@ -42,7 +42,7 @@ async function core(rootItemPath, options = {}, returnType = {}) {
if (typeof directoryItems !== "object") return;
await Promise.all(
directoryItems.map((directoryItem) =>
processItem(joinPaths(itemPath, directoryItem)),
processItem(join(itemPath, directoryItem)),
),
);
}
Expand Down

0 comments on commit c9db434

Please sign in to comment.