fix process error
This commit is contained in:
parent
c1c12d8c70
commit
20a06b6478
@ -1,15 +1,13 @@
|
||||
const { env } = process;
|
||||
|
||||
const truthy = ['1', 'true'];
|
||||
|
||||
export default {
|
||||
assets: truthy.includes(env['NX_EXPLORER_ASSETS'] || ''),
|
||||
genesis: truthy.includes(env['NX_EXPLORER_GENESIS'] || ''),
|
||||
governance: truthy.includes(env['NX_EXPLORER_GOVERNANCE'] || ''),
|
||||
markets: truthy.includes(env['NX_EXPLORER_MARKETS'] || ''),
|
||||
assets: truthy.includes(process.env['NX_EXPLORER_ASSETS'] || ''),
|
||||
genesis: truthy.includes(process.env['NX_EXPLORER_GENESIS'] || ''),
|
||||
governance: truthy.includes(process.env['NX_EXPLORER_GOVERNANCE'] || ''),
|
||||
markets: truthy.includes(process.env['NX_EXPLORER_MARKETS'] || ''),
|
||||
networkParameters: truthy.includes(
|
||||
env['NX_EXPLORER_NETWORK_PARAMETERS'] || ''
|
||||
process.env['NX_EXPLORER_NETWORK_PARAMETERS'] || ''
|
||||
),
|
||||
parties: truthy.includes(env['NX_EXPLORER_PARTIES'] || ''),
|
||||
validators: truthy.includes(env['NX_EXPLORER_VALIDATORS'] || ''),
|
||||
parties: truthy.includes(process.env['NX_EXPLORER_PARTIES'] || ''),
|
||||
validators: truthy.includes(process.env['NX_EXPLORER_VALIDATORS'] || ''),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user