aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/dev-utils/src/env.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/dev-utils/src/env.ts b/packages/dev-utils/src/env.ts
index 7e46a5f89..6f8b1c5f8 100644
--- a/packages/dev-utils/src/env.ts
+++ b/packages/dev-utils/src/env.ts
@@ -4,10 +4,10 @@ import * as process from 'process';
export const env = {
parseBoolean(key: string): boolean {
let isTrue: boolean;
- const envVarvalue = process.env[key];
- if (process.env.SOLIDITY_COVERAGE === 'true') {
+ const envVarValue = process.env[key];
+ if (envVarValue === 'true') {
isTrue = true;
- } else if (process.env.SOLIDITY_COVERAGE === 'false' || _.isUndefined(process.env.SOLIDITY_COVERAGE)) {
+ } else if (envVarValue === 'false' || _.isUndefined(envVarValue)) {
isTrue = false;
} else {
throw new Error(