Skip to content

Commit

Permalink
fix tsc err
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Dec 24, 2024
1 parent 2b5ed9e commit 9551170
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/tools/callTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ async function callToolFromUri(
args: any,
extras: ToolExtras,
): Promise<ContextItem[]> {
// @ts-ignore
const canParse = URL.canParse(uri);
if (!canParse) {
throw new Error(`Invalid URI: ${uri}`);
Expand Down

0 comments on commit 9551170

Please sign in to comment.