[BUG] The order of the options loaded from config/node.options
and NODE_OPTIONS
differs between Windows and non-Windows
#3502
Labels
bug
Something isn't working
Describe the bug
On Windows
OpenSearch-Dashboards/src/dev/build/tasks/bin/scripts/opensearch-dashboards.bat
Lines 22 to 33 in 5af9a43
On Windows, when
opensearch-dashboards.bat
is called, the options read in fromconfig/node.options
are appended to anyNODE_OPTIONS
that might have existed.On others
OpenSearch-Dashboards/src/dev/build/tasks/bin/scripts/opensearch-dashboards
Lines 42 to 46 in 5af9a43
When
opensearch-dashboards
is called, the options read in fromconfig/node.options
are passed in and thenNODE_OPTIONS
is appended.The difference is that on Windows,
config/node.options
overrideNODE_OPTIONS
.The text was updated successfully, but these errors were encountered: