Skip to content

Commit

Permalink
Type cast values
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jun 13, 2019
1 parent 31b4a12 commit 2cc9e78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api/core/src/api/make.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default async ({
dir = process.cwd(),
interactive = false,
skipPackage = false,
arch = getHostArch(),
arch = getHostArch() as ForgeArch,
platform = process.platform as ForgePlatform,
overrideTargets,
outDir,
Expand Down
2 changes: 1 addition & 1 deletion packages/api/core/src/api/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export interface PackageOptions {
export default async ({
dir = process.cwd(),
interactive = false,
arch = getHostArch(),
arch = getHostArch() as ForgeArch,
platform = process.platform as ForgePlatform,
outDir,
}: PackageOptions) => {
Expand Down

0 comments on commit 2cc9e78

Please sign in to comment.