MCPcopy Create free account
hub / github.com/anus-dev/ANUS / handleUpdateSuccess

Function handleUpdateSuccess

packages/cli/src/utils/handleAutoUpdate.ts:113–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 };
112
113 const handleUpdateSuccess = () => {
114 successfullyInstalled = true;
115 setUpdateInfo(null);
116 addItem(
117 {
118 type: MessageType.INFO,
119 text: `Update successful! The new version will be used on your next run.`,
120 },
121 Date.now(),
122 );
123 };
124
125 const handleUpdateInfo = (data: { message: string }) => {
126 addItem(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected