clintwood / arango-aql-query

MIT License
6 stars 2 forks source link

Promise.done is deprecated. #2

Open chrisshaw opened 7 years ago

chrisshaw commented 7 years ago

Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done

Promise.done (<embedded>:1656:11)
Object.execAqlQuery (/Users/chrisshaw/.atom/packages/arango-aql-query/lib/arango-aql-query.js:134:6)
atom-workspace.arangoAqlQueryExecaqlquery (/Users/chrisshaw/.atom/packages/arango-aql-query/lib/arango-aql.js:25:15)
CommandRegistry.handleCommandEvent (<embedded>:18901:35)
handleCommandEvent (<embedded>:18639:65)
CommandRegistry.dispatch (<embedded>:18802:25)
clintwood commented 7 years ago

Will take a look - thanks!