Skip to content

Commit

Permalink
fix: default platforms to empty array instead of null
Browse files Browse the repository at this point in the history
Fixes #2016
  • Loading branch information
MarshallOfSound authored Feb 3, 2022
1 parent f590942 commit 9abc581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/core/src/util/upgrade-forge-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function generateForgeMakerConfig(forge5Config: Forge5Config): IForgeResolvableM
makers.push({
name: `@electron-forge/maker-${makerType}`,
config: forge5Config[forge5Key],
platforms: makeTargets.get(makerType) || null,
platforms: makeTargets.get(makerType) || [],
} as IForgeResolvableMaker);
}
}
Expand Down

0 comments on commit 9abc581

Please sign in to comment.