We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dc9757 commit 01feb2dCopy full SHA for 01feb2d
bin/pack-resources.js
@@ -22,7 +22,7 @@ async function packDirectory(root, urlRoot, genRoot, dirPath = '', indent = 0) {
22
for (const file of files) {
23
packedData.push(`${' '.repeat(indent + 1)}${JSON.stringify(file.name)}: `);
24
const filePath = `${dirPath}/${file.name}`;
25
- const fileStats = await stat(`${root}/${dirPath}/${filePath}`);
+ const fileStats = await stat(`${root}/${filePath}`);
26
if (fileStats.isDirectory()) {
27
packedData.push(await packDirectory(root, urlRoot, genRoot, filePath, indent + 1));
28
} else if (fileStats.isFile()) {
0 commit comments