Skip to content

Commit eeed4a2

Browse files
committed
fix: forge profile installation post processing failed
1 parent 11c4d45 commit eeed4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/installer/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ export class PostProcessingTask extends AbortableTask<void> {
315315
if (this.isPaused) {
316316
throw PAUSEED
317317
}
318-
if (!proc.outputs || await this.isInvalid(proc.outputs)) {
318+
if (!proc.outputs || Object.keys(proc.outputs).length === 0 || await this.isInvalid(proc.outputs)) {
319319
await this.postProcess(this.minecraft, proc, this.java)
320320
}
321321
if (this.isCancelled) {

0 commit comments

Comments
 (0)