aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils/src/env.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-13 22:19:31 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-13 22:19:31 +0800
commita9db0e8ebe1360cf521302691998ef1f98e2dc51 (patch)
tree683ae243e2690ade19833d4986192d8a6e760144 /packages/dev-utils/src/env.ts
parenta0791455e11022d16dbffba9b7080010a05d6522 (diff)
downloaddexon-sol-tools-a9db0e8ebe1360cf521302691998ef1f98e2dc51.tar
dexon-sol-tools-a9db0e8ebe1360cf521302691998ef1f98e2dc51.tar.gz
dexon-sol-tools-a9db0e8ebe1360cf521302691998ef1f98e2dc51.tar.bz2
dexon-sol-tools-a9db0e8ebe1360cf521302691998ef1f98e2dc51.tar.lz
dexon-sol-tools-a9db0e8ebe1360cf521302691998ef1f98e2dc51.tar.xz
dexon-sol-tools-a9db0e8ebe1360cf521302691998ef1f98e2dc51.tar.zst
dexon-sol-tools-a9db0e8ebe1360cf521302691998ef1f98e2dc51.zip
Properly and consistently parse ENV vars
Diffstat (limited to 'packages/dev-utils/src/env.ts')
-rw-r--r--packages/dev-utils/src/env.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/dev-utils/src/env.ts b/packages/dev-utils/src/env.ts
index 6f8b1c5f8..114dbf4a8 100644
--- a/packages/dev-utils/src/env.ts
+++ b/packages/dev-utils/src/env.ts
@@ -1,6 +1,11 @@
import * as _ from 'lodash';
import * as process from 'process';
+export enum EnvVars {
+ SolidityCoverage = 'SOLIDITY_COVERAGE',
+ VerboseGanache = 'VERBOSE_GANACHE',
+}
+
export const env = {
parseBoolean(key: string): boolean {
let isTrue: boolean;