MCPcopy
hub / github.com/vercel/hyper / logNotify

Function logNotify

app/utils/cli-install.ts:124–127  ·  view source on GitHub ↗
(withNotification: boolean, title: string, body: string, details?: {error?: any})

Source from the content-addressed store, hash-verified

122};
123
124const logNotify = (withNotification: boolean, title: string, body: string, details?: {error?: any}) => {
125 console.log(title, body, details);
126 withNotification && notify(title, body, details);
127};
128
129export const installCLI = async (withNotification: boolean) => {
130 if (process.platform === 'win32') {

Callers 1

installCLIFunction · 0.85

Calls 2

notifyFunction · 0.50
logMethod · 0.45

Tested by

no test coverage detected