Open dazedpro opened 7 years ago
Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done
Promise.done (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1203:5) Object.toggle (/Users/cmarsh/.atom/packages/atom-image-resize/lib/main.coffee:85:10) atom-workspace.subscriptions.add.atom.commands.add.atom-image-resize:toggle (/Users/cmarsh/.atom/packages/atom-image-resize/lib/main.coffee:18:26) CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29) <unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59) CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:210:32)
same here !!
It seems to work just fine. But the deprecation message persist.
Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done