Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xygodcyx committed May 26, 2024
1 parent 0f2d4f6 commit da535ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function traverseDirectory(dir, rootDir) {
}

const itemPath = path.join(dir, item);
const relativePath = path.relative(rootDir, itemPath);
const relativePath = path.relative(__dirname, itemPath);
const stats = fs.statSync(itemPath);

if (stats.isDirectory()) {
Expand Down

0 comments on commit da535ec

Please sign in to comment.