Skip to content

Commit 01feb2d

Browse files
committed
Fix typo.
1 parent 0dc9757 commit 01feb2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/pack-resources.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async function packDirectory(root, urlRoot, genRoot, dirPath = '', indent = 0) {
2222
for (const file of files) {
2323
packedData.push(`${' '.repeat(indent + 1)}${JSON.stringify(file.name)}: `);
2424
const filePath = `${dirPath}/${file.name}`;
25-
const fileStats = await stat(`${root}/${dirPath}/${filePath}`);
25+
const fileStats = await stat(`${root}/${filePath}`);
2626
if (fileStats.isDirectory()) {
2727
packedData.push(await packDirectory(root, urlRoot, genRoot, filePath, indent + 1));
2828
} else if (fileStats.isFile()) {

0 commit comments

Comments
 (0)