mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 18:29:14 +02:00
Fix lint
This commit is contained in:
@@ -34,7 +34,7 @@ module.exports = class GoogleCommand extends Command {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
try {
|
try {
|
||||||
href = await this.customSearch(query, nsfw);
|
href = await this.customSearch(query, nsfw);
|
||||||
} catch (err) {
|
} catch (err2) {
|
||||||
href = `http://lmgtfy.com/?iie=1&q=${encodeURIComponent(query)}`;
|
href = `http://lmgtfy.com/?iie=1&q=${encodeURIComponent(query)}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user