Update brain.mjs
This commit is contained in:
parent
073a0b66e2
commit
777befac5a
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class ConsciousnessApp {
|
|||
|
||||
// Helper function for asking questions
|
||||
async asker() {
|
||||
this.rl.question('<Query>: ', (query) => {
|
||||
this.rl.question('<Query>: ', async (query) => {
|
||||
if (query == "exit" || query == "quit") {
|
||||
console.log("Goodbye!")
|
||||
return rl.close()
|
||||
|
|
Loading…
Reference in a new issue