Skip to content

Commit

Permalink
chore: dulcet-prompt remove co
Browse files Browse the repository at this point in the history
  • Loading branch information
imcuttle committed Mar 30, 2018
1 parent d483b05 commit ff2cc90
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/edam-plugin-dulcet-prompt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
* @description
*/

const co = require('co')
const inquirer = require('./dulcet-inquirer')

/* eslint-disable */
module.exports = co.wrap(function* dulcetPrompt({ port, silent } = {}) {
module.exports = function dulcetPrompt({ port, silent } = {}) {
const edam = this

edam.prompt = function(prompts, { context, yes } = {}) {
return inquirer(prompts, { yes })
}

})
}

0 comments on commit ff2cc90

Please sign in to comment.