File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,7 +440,10 @@ function formatAutomaticUpdate(info: DoctorRuntimeInfo): string[] {
440440 const update = info . update ;
441441 if ( update ?. autoUpdate === undefined ) return [ ] ;
442442 if ( update . autoUpdate === 'env-disabled' ) {
443- return [ ' Auto-update: disabled by PYTHINKER_CODE_NO_AUTO_UPDATE' ] ;
443+ return [
444+ ' Auto-update: disabled by PYTHINKER_CODE_NO_AUTO_UPDATE or ' +
445+ 'PYTHINKER_CLI_NO_AUTO_UPDATE' ,
446+ ] ;
444447 }
445448 if ( update . autoUpdate === 'off' ) {
446449 return [ ' Auto-update: off (tui.toml [upgrade].auto_install)' ] ;
Original file line number Diff line number Diff line change @@ -322,7 +322,9 @@ export async function handleUpdateCommand(
322322 host . showNotice (
323323 `Update to v${ result . version } already in progress` ,
324324 result . installOnRestart
325- ? 'Once preparation finishes, restart the CLI to install it.'
325+ ? result . readyToInstall
326+ ? 'Restart the CLI to install it.'
327+ : 'Restart after the current update operation finishes.'
326328 : 'Restart the CLI once it completes.' ,
327329 ) ;
328330 return ;
You can’t perform that action at this time.
0 commit comments