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 utils = require('./utils')
|
||||||
|
|
||||||
const Result = {
|
|
||||||
events: {
|
|
||||||
data: () => {},
|
|
||||||
error: () => {},
|
|
||||||
done: () => {}
|
|
||||||
},
|
|
||||||
on(type, cb) {
|
|
||||||
this.events[type] = cb
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
grab: async function (channel, config, cb) {
|
grab: async function (channel, config, cb) {
|
||||||
config = utils.loadConfig(config)
|
config = utils.loadConfig(config)
|
||||||
|
|
Loading…
Reference in New Issue