mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix lint
This commit is contained in:
@@ -59,7 +59,7 @@ module.exports = class ScreenshotCommand extends Command {
|
||||
const { text } = await request.get('https://raw.githubusercontent.com/blocklistproject/Lists/master/porn.txt');
|
||||
this.pornList = text.split('\n')
|
||||
.filter(url => url && !url.startsWith('#'))
|
||||
.map(url => url.replace(/^(0.0.0.0 )/, ''));
|
||||
.map(url => url.replace(/^(0.0.0.0 )/, '')); // eslint-disable-line no-control-regex
|
||||
return this.postList;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user