santinic / how2

AI for the Command Line
https://how2terminal.com
MIT License
5.71k stars 156 forks source link

Query error with mongodb #99

Closed albertotn closed 4 weeks ago

albertotn commented 4 years ago

Running following command:

how2 mongodb query aggregation

give that error:

/{ AssertionError [ERR_ASSERTION]: null == true
    at fetchQuestionAnswers (C:\Users\user1\AppData\Roaming\npm\node_modules\how-2\lib\how2.js:23:5)
    at onAfterSearch (C:\Users\user1\AppData\Roaming\npm\node_modules\how-2\lib\how2.js:135:29)
    at Object.main (C:\Users\user1\AppData\Roaming\npm\node_modules\how-2\lib\how2.js:183:9)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:118:7)
  generatedMessage: true,
  name: 'AssertionError [ERR_ASSERTION]',
  code: 'ERR_ASSERTION',
  actual: null,
  expected: true,
  operator: '==' }
ahaverty commented 4 years ago

I'm getting a similar error with how2 delete local merged branches

santinic commented 4 weeks ago

Fixed