mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Fix lint
This commit is contained in:
+1
-1
@@ -200,7 +200,7 @@ module.exports = class Util {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static checkFileExists(filepath) {
|
static checkFileExists(filepath) {
|
||||||
return new Promise((res) => fs.access(filepath, fs.constants.F_OK, error => res(!error)));
|
return new Promise(res => fs.access(filepath, fs.constants.F_OK, error => res(!error)));
|
||||||
}
|
}
|
||||||
|
|
||||||
static stripInvites(str, { guild = true, bot = true, text = '[redacted invite]' } = {}) {
|
static stripInvites(str, { guild = true, bot = true, text = '[redacted invite]' } = {}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user