From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/gmail/index.js | 7 +++---- recipes/gmail/webview.js | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'recipes/gmail') diff --git a/recipes/gmail/index.js b/recipes/gmail/index.js index 309bb87..e1896e4 100644 --- a/recipes/gmail/index.js +++ b/recipes/gmail/index.js @@ -1,5 +1,4 @@ -var os = require('os') +const os = require('os'); -module.exports = Franz => - class Gmail extends Franz { - }; +module.exports = Franz => class Gmail extends Franz { +}; diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js index a2c712e..681b36e 100644 --- a/recipes/gmail/webview.js +++ b/recipes/gmail/webview.js @@ -1,8 +1,8 @@ -const path = require("path"); +const path = require('path'); module.exports = (Franz) => { // if the user is on gmail's landing page, go to the login page. - if (location.hostname == 'www.google.com' && location.href.includes("gmail/about/")) { + if (location.hostname == 'www.google.com' && location.href.includes('gmail/about/')) { location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/'; } -- cgit v1.2.3-70-g09d2