-
Notifications
You must be signed in to change notification settings - Fork 272
Closed
Description
Actual behaviour
It seems that when installing node-export server silently, environment variables HIGHCHARTS_USE_MAPS and HIGHCHARTS_USE_STYLED evaluate always to true.
Suggested solution
Replace:
embedAll(process.env.HIGHCHARTS_VERSION || 'latest',
process.env.HIGHCHARTS_USE_STYLED || true,
process.env.HIGHCHARTS_USE_MAPS || true,
process.env.HIGHCHARTS_MOMENT || false
);
with:
embedAll(process.env.HIGHCHARTS_VERSION || 'latest',
affirmative(process.env.HIGHCHARTS_USE_STYLED),
affirmative(process.env.HIGHCHARTS_USE_MAPS),
affirmative(process.env.HIGHCHARTS_MOMENT)
);
Metadata
Metadata
Assignees
Labels
No labels