Skip to content

Commit

Permalink
fix code climate issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Donmclean committed Nov 17, 2017
1 parent 352c834 commit 1bdf04a
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/actions/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default async (runCommand) => {

} catch (err) {
logElectronRunServerError();
console.error(`ERROR > error reading (${electronPackagerOptions.out})`, err);
console.error(`ERROR > error reading electronPackagerOptions out path`, err);
}

break;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/functions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs-extra';
import { includes, isEmpty, forEach, find, eq, isNil, get } from 'lodash';
import { includes, isEmpty, forEach, eq, isNil, get } from 'lodash';
import chai from 'chai';
const assert = chai.assert;
import path from 'path';
Expand Down
68 changes: 61 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,10 @@ base64-arraybuffer@0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8"

base64-js@0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-0.0.2.tgz#024f0f72afa25b75f9c0ee73cd4f55ec1bed9784"

base64-js@1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.1.2.tgz#d6400cac1c4c660976d90d07a04351d89395f5e8"
Expand Down Expand Up @@ -888,6 +892,13 @@ boom@2.x.x:
dependencies:
hoek "2.x.x"

bops@~0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/bops/-/bops-0.1.1.tgz#062e02a8daa801fa10f2e5dbe6740cff801fe17e"
dependencies:
base64-js "0.0.2"
to-utf8 "0.0.1"

boxen@^0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/boxen/-/boxen-0.3.1.tgz#a7d898243ae622f7abb6bb604d740a76c6a5461b"
Expand Down Expand Up @@ -1829,6 +1840,10 @@ es6-promise@^4.0.5:
version "4.0.5"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.0.5.tgz#7882f30adde5b240ccfa7f7d78c548330951ae42"

es6-promise@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a"

escape-html@~1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
Expand Down Expand Up @@ -4701,6 +4716,10 @@ proxy-addr@~1.1.3:
forwarded "~0.1.0"
ipaddr.js "1.2.0"

proxy-from-env@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.0.0.tgz#33c50398f70ea7eb96d21f7b817630a55791c7ee"

pruner@^0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/pruner/-/pruner-0.0.7.tgz#345fbcb3e80701163a1d7adf56bac229a5a1e4c1"
Expand Down Expand Up @@ -5168,6 +5187,10 @@ sanitize-filename@^1.6.0:
dependencies:
truncate-utf8-bytes "^1.0.0"

sax@>=0.6.0:
version "1.2.4"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"

semver-diff@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36"
Expand Down Expand Up @@ -5333,9 +5356,9 @@ snyk-config@1.0.1:
nconf "^0.7.2"
path-is-absolute "^1.0.0"

snyk-go-plugin@1.3.7:
version "1.3.7"
resolved "https://registry.yarnpkg.com/snyk-go-plugin/-/snyk-go-plugin-1.3.7.tgz#af57af7132c9e313555b5d8955312b87f016f447"
snyk-go-plugin@1.3.8:
version "1.3.8"
resolved "https://registry.yarnpkg.com/snyk-go-plugin/-/snyk-go-plugin-1.3.8.tgz#77f7fc663b276d4e6007c5bd23ec2453c35a45ee"
dependencies:
graphlib "^2.1.1"
toml "^2.3.2"
Expand All @@ -5357,6 +5380,14 @@ snyk-mvn-plugin@1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/snyk-mvn-plugin/-/snyk-mvn-plugin-1.1.0.tgz#6ad3fb670cd22972094f065ab99b90d286c8ad6f"

snyk-nuget-plugin@1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/snyk-nuget-plugin/-/snyk-nuget-plugin-1.2.0.tgz#4dad574155e4b39a5bac15f8218245f2abca32af"
dependencies:
es6-promise "^4.1.1"
xml2js "^0.4.17"
zip "^1.2.0"

snyk-policy@1.7.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/snyk-policy/-/snyk-policy-1.7.1.tgz#e413b6bd4af6050c5e5f445287909e4e98a09b22"
Expand Down Expand Up @@ -5427,9 +5458,9 @@ snyk-try-require@^1.1.1, snyk-try-require@^1.2.0:
lru-cache "^4.0.0"
then-fs "^2.0.0"

snyk@^1.41.1:
version "1.44.1"
resolved "https://registry.yarnpkg.com/snyk/-/snyk-1.44.1.tgz#45ad1ebaba1cb9f9b9baee840d661574ef107919"
snyk@^1.46.0:
version "1.49.3"
resolved "https://registry.yarnpkg.com/snyk/-/snyk-1.49.3.tgz#62160454ae6a8463eb6135df782bc85ae520a323"
dependencies:
abbrev "^1.0.7"
ansi-escapes "^1.3.0"
Expand All @@ -5442,12 +5473,14 @@ snyk@^1.41.1:
needle "^2.0.1"
open "^0.0.5"
os-name "^1.0.3"
proxy-from-env "^1.0.0"
semver "^5.1.0"
snyk-config "1.0.1"
snyk-go-plugin "1.3.7"
snyk-go-plugin "1.3.8"
snyk-gradle-plugin "1.2.0"
snyk-module "1.8.1"
snyk-mvn-plugin "1.1.0"
snyk-nuget-plugin "1.2.0"
snyk-policy "1.7.1"
snyk-python-plugin "1.4.0"
snyk-recursive-readdir "^2.0.0"
Expand Down Expand Up @@ -5946,6 +5979,10 @@ to-string-x@^1.4.2:
dependencies:
is-symbol "^1.0.1"

to-utf8@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/to-utf8/-/to-utf8-0.0.1.tgz#d17aea72ff2fba39b9e43601be7b3ff72e089852"

toml@^2.3.2:
version "2.3.3"
resolved "https://registry.yarnpkg.com/toml/-/toml-2.3.3.tgz#8d683d729577cb286231dfc7a8affe58d31728fb"
Expand Down Expand Up @@ -6371,10 +6408,21 @@ xdg-basedir@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4"

xml2js@^0.4.17:
version "0.4.19"
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7"
dependencies:
sax ">=0.6.0"
xmlbuilder "~9.0.1"

xmlbuilder@8.2.2:
version "8.2.2"
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-8.2.2.tgz#69248673410b4ba42e1a6136551d2922335aa773"

xmlbuilder@~9.0.1:
version "9.0.4"
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.4.tgz#519cb4ca686d005a8420d3496f3f0caeecca580f"

xmldom@0.1.x:
version "0.1.27"
resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.27.tgz#d501f97b3bdb403af8ef9ecc20573187aadac0e9"
Expand Down Expand Up @@ -6490,3 +6538,9 @@ yauzl@2.4.1:
yeast@0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"

zip@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/zip/-/zip-1.2.0.tgz#ad0ad42265309be42eb56fc86194e17c24e66a9c"
dependencies:
bops "~0.1.1"

0 comments on commit 1bdf04a

Please sign in to comment.