Skip to content

Commit 6c9a6ae

Browse files
fix(get-assets): handle sub dir paths correctly
1 parent 3aa71d4 commit 6c9a6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/get-assets.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function getFiles (
4242
*/
4343
for (const folder of folders) {
4444
files.push(
45-
...(await getFiles(path.join(dir, folder.name), urlPrefix, true))
45+
...(await getFiles(path.join(dir, folder.name), path.join(urlPrefix, folder.name), true))
4646
)
4747
}
4848

0 commit comments

Comments
 (0)