`useElectronNet: true` doesn't work
kyoh86 opened this issue · comments
const slack = new Slack({useElectronNet: true})
slack.oauth.access(cred).then(console.log);
$ yarn start
yarn run v1.13.0
$ electron .
(node:2571) UnhandledPromiseRejectionWarning: Error: options.useElectronNet.request is not a functi
on
WHY??
appears to fail here https://github.com/smallwins/slack/blob/master/src/_exec-electron.js#L99
maybe electron changed its interface? (I'm not an electron dev so I can't say but more investigation would be appreciated!)
❗️2ca805f#diff-0730bb7c2e8f9ea2438b52e419dd86c9R86
Could it be this is documentation error?
closing due to inactivity / lack of steps to repro (feel free to reopen if you'd like to continue to address)