Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jan 2, 2025
1 parent b0d8d68 commit 66bf4a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libV2/utils/disk.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const suffixToExp = {

async function getFolderSizeWrapper(...args) {
const { default: getFolderSize } = await import('get-folder-size');
return getFolderSize(...args);
const result = await getFolderSize(...args);
return result.size || 0;
}

/**
Expand Down

0 comments on commit 66bf4a1

Please sign in to comment.