Skip to content

Commit 341c085

Browse files
committed
Fix mod installer failing when mod archive paths already exists
1 parent b97d071 commit 341c085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod-installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ export class ModInstaller {
466466

467467
for (const { filepath } of files) {
468468
if (filepath.endsWith('/')) {
469-
await fs.promises.mkdir(filepath)
469+
await fs.promises.mkdir(filepath, { recursive: true })
470470
}
471471
}
472472

0 commit comments

Comments
 (0)