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