From 228ff2a7846e15affc2a026910db7db3e6813e00 Mon Sep 17 00:00:00 2001 From: Erik Marks Date: Thu, 6 Feb 2020 07:03:29 -0800 Subject: [PATCH] lint --- index.js | 6 +++--- src/siteMetadata.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 53ba394a..45e97c1d 100644 --- a/index.js +++ b/index.js @@ -86,7 +86,7 @@ function MetamaskInpageProvider (connectionStream, shouldSendMetadata = true) { this._sendAsync( { method: 'eth_accounts', params: [] }, () => {}, - true // indicating that eth_accounts _should_ update accounts + true, // indicating that eth_accounts _should_ update accounts ) } catch (_) {} } @@ -365,7 +365,7 @@ MetamaskInpageProvider.prototype._sendSync = function (payload) { /** * Internal RPC method. Forwards requests to background via the RPC engine. * Also remap ids inbound and outbound. - * + * * @param {Object} payload - The RPC request object. * @param {Function} userCallback - The caller's callback. * @param {boolean} isInternal - Whether the request is internal. @@ -390,7 +390,7 @@ MetamaskInpageProvider.prototype._sendAsync = function (payload, userCallback, i this._handleAccountsChanged( res.result || [], payload.method === 'eth_accounts', - isInternal + isInternal, ) userCallback(err, res) } diff --git a/src/siteMetadata.js b/src/siteMetadata.js index 87b1ccc5..01568142 100644 --- a/src/siteMetadata.js +++ b/src/siteMetadata.js @@ -1,5 +1,5 @@ -const { errors } = require ('./messages') +const { errors } = require('./messages') module.exports = { sendSiteMetadata,