Fix linter issues
This commit is contained in:
parent
11261efa9a
commit
79a676d3ec
12
src/index.js
12
src/index.js
|
@ -1,17 +1,5 @@
|
|||
const axios = require('axios').default
|
||||
const utils = require('./utils')
|
||||
|
||||
const Result = {
|
||||
events: {
|
||||
data: () => {},
|
||||
error: () => {},
|
||||
done: () => {}
|
||||
},
|
||||
on(type, cb) {
|
||||
this.events[type] = cb
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
grab: async function (channel, config, cb) {
|
||||
config = utils.loadConfig(config)
|
||||
|
|
Loading…
Reference in New Issue