From 433ff4a27fec9d2b4b15e37f4f4ae930453746fe Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 12 Sep 2019 19:39:00 -0500 Subject: [PATCH] style(@embark): fix linter errors --- packages/embark/src/lib/modules/geth/blockchain.js | 2 +- packages/embark/src/lib/modules/geth/whisperClient.js | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/embark/src/lib/modules/geth/blockchain.js b/packages/embark/src/lib/modules/geth/blockchain.js index 4226bb09d..9d6bd3cd1 100644 --- a/packages/embark/src/lib/modules/geth/blockchain.js +++ b/packages/embark/src/lib/modules/geth/blockchain.js @@ -428,7 +428,7 @@ export function BlockchainClient(userConfig, options, communicationConfig) { let clientClass; if (communicationConfig) { - clientClass = WhisperGethClient + clientClass = WhisperGethClient; } else { clientClass = GethClient; } diff --git a/packages/embark/src/lib/modules/geth/whisperClient.js b/packages/embark/src/lib/modules/geth/whisperClient.js index 3ec4f9e58..95c8a6610 100644 --- a/packages/embark/src/lib/modules/geth/whisperClient.js +++ b/packages/embark/src/lib/modules/geth/whisperClient.js @@ -1,8 +1,5 @@ import { __ } from 'embark-i18n'; -import { dappPath, ipcPath } from 'embark-utils'; const async = require('async'); -const {exec, spawn} = require('child_process'); -const path = require('path'); const GethMiner = require('./miner'); const semver = require('semver'); const constants = require('embark-core/constants'); @@ -140,7 +137,7 @@ class WhisperGethClient { return accounts; } - parseListAccountsCommandResultToAddressCount(data = "") { + parseListAccountsCommandResultToAddressCount(_data = "") { return 0; } @@ -258,4 +255,3 @@ class WhisperGethClient { } module.exports = WhisperGethClient; -