Skip to content

Commit

Permalink
Update cli.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeChannings authored Nov 25, 2024
1 parent c9702e2 commit ede1ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/link-apps/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function processCLIArguments(args: string[]): CLI {

throw new Error("No command could be determined");
} catch (err) {
throw new Error(`Some flags could not be handled: ${err?.message ?? String(err)}`, {
throw new Error(`Some flags could not be handled: ${(err as unknown as (Error | undefined))?.message ?? String(err)}`, {
cause: err,
});
}
Expand Down

0 comments on commit ede1ba5

Please sign in to comment.