Skip to content

PromptScript API


Function: forceCheckForUpdates()

forceCheckForUpdates(currentVersion): Promise\<{ error: boolean; info: UpdateInfo | null; }>

Defined in: cli/src/utils/version-check.ts:225

Force check for updates (ignores cache). Used by the update-check command.

Parameters

currentVersion

string

The current CLI version

Returns

Promise\<{ error: boolean; info: UpdateInfo | null; }>

Update info with check result