examples/node_error.js
function openIssue(e) {
  require('../lib/node.js')
    .github('pauldijou/open-issue')
    .title('Unexpected error')
    .labels('bug', 'fatal')
    .append('The following error occured:')
    .appendCode(parseError(e))
    .append('You can also add custom infos if necessary...')
    .open();
}
function openIssue(e) {
  require('../lib/node.js')
    .github('pauldijou/open-issue')
    .title('Unexpected error')
    .labels('bug', 'fatal')
    .append('The following error occured:')
    .appendCode(parseError(e))
    .append('You can also add custom infos if necessary...')
    .open();
}
function openIssue ( e ) { require ( '../lib/node.js' ) . github ( 'pauldijou/open-issue' ) . title ( 'Unexpected error' ) . labels ( 'bug' , 'fatal' ) . append ( 'The following error occured:' ) . appendCode ( parseError ( e ) ) . append ( 'You can also add custom infos if necessary...' ) . open ( ) ; }
Open the issue if user is ok
Open the issue if user is ok