mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 08:00:59 +00:00
Fix version check URL typo (#423)
This commit is contained in:
parent
69dc6b0788
commit
9b0ec02405
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ import { ensureTool } from "./utils/tools-manager.js";
|
||||||
|
|
||||||
async function checkForNewVersion(currentVersion: string): Promise<string | undefined> {
|
async function checkForNewVersion(currentVersion: string): Promise<string | undefined> {
|
||||||
try {
|
try {
|
||||||
const response = await fetch("https://registry.npmjs.org/@mariozechner/pi -coding-agent/latest");
|
const response = await fetch("https://registry.npmjs.org/@mariozechner/pi-coding-agent/latest");
|
||||||
if (!response.ok) return undefined;
|
if (!response.ok) return undefined;
|
||||||
|
|
||||||
const data = (await response.json()) as { version?: string };
|
const data = (await response.json()) as { version?: string };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue