Skip to content

Commit

Permalink
fix: type misalignment
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <[email protected]>
  • Loading branch information
sgammon committed Jun 7, 2024
1 parent 77513ca commit 80fcb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export async function resolveRuntimeInfo(runtime: RuntimeConfig | string): Promi
return cached;
}
const bin = runtimeConfig.bin || runtimeName;
let resolvedPath: string | undefined = undefined;
let resolvedPath: string | undefined | null = undefined;
if (!isAbsolute(bin)) {
resolvedPath = await which(bin, {nothrow: true});
} else {
Expand Down

0 comments on commit 80fcb2c

Please sign in to comment.