diff --git a/scripts/hak/target.ts b/scripts/hak/target.ts index e2d0b9c..6d3b296 100644 --- a/scripts/hak/target.ts +++ b/scripts/hak/target.ts @@ -179,7 +179,7 @@ export const TARGETS: Record = { 'powerpc64le-unknown-linux-gnu': powerpc64leUnknownLinuxGnu, }; -export function getHost(): Target { +export function getHost(): Target | undefined { return Object.values(TARGETS).find(target => ( target.platform === process.platform && target.arch === process.arch &&