Skip to content

Commit 8997178

Browse files
committed
Add Notify event to cli
1 parent 466ce20 commit 8997178

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/botPage/bot/cli.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ let code = ''
4848

4949
const interpreter = createInterpreter()
5050

51-
globalObserver.register('Error', e => log(e)) // eslint-disable-line no-console
51+
globalObserver.register('Error', e => log(e))
52+
53+
globalObserver.register('Notify', e => log(e))
5254

5355
lineReader
5456
.on('line', line => (code += `${line}\n`))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy