mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 14:55:40 +02:00
Fix lint
This commit is contained in:
@@ -3,10 +3,6 @@ const request = require('node-superfetch');
|
||||
const Pokemon = require('./Pokemon');
|
||||
|
||||
module.exports = class PokemonStore extends Collection {
|
||||
constructor(iterable) {
|
||||
super(iterable);
|
||||
}
|
||||
|
||||
async fetch(query) {
|
||||
query = encodeURIComponent(query.toLowerCase().replace(/ /g, '-').replace(/[^a-zA-Z0-9-]/g, ''));
|
||||
const num = Number.parseInt(query, 10);
|
||||
|
||||
Reference in New Issue
Block a user