Skip to content

Commit c9da714

Browse files
committed
chore: update import
1 parent c100186 commit c9da714

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/api/core/src/util/parse-archs.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import { ForgeArch, ForgePlatform } from '@electron-forge/shared-types';
2-
3-
// TODO: convert to an import statement when this is a public API
4-
// eslint-disable-next-line @typescript-eslint/no-var-requires
5-
const { allOfficialArchsForPlatformAndVersion } = require('@electron/packager/src/targets');
2+
import { allOfficialArchsForPlatformAndVersion } from '@electron/packager';
63

74
export default function parseArchs(platform: ForgePlatform | string, declaredArch: ForgeArch | 'all' | string, electronVersion: string): ForgeArch[] {
85
if (declaredArch === 'all') {

0 commit comments

Comments
 (0)