From 5f81ce16c3f32db064b047fe6524ad924ca2bbe3 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 28 Aug 2018 17:06:46 +0000 Subject: [PATCH] Fix lint --- commands/search/google.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/google.js b/commands/search/google.js index 4bbd6a7f..b5d7786e 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -34,7 +34,7 @@ module.exports = class GoogleCommand extends Command { } catch (err) { try { href = await this.customSearch(query, nsfw); - } catch (err) { + } catch (err2) { href = `http://lmgtfy.com/?iie=1&q=${encodeURIComponent(query)}`; } }