Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42f5f27

Browse filesBrowse files
richardlauBridgeAR
authored andcommitted
test: fix NODE_OPTIONS feature check
The configuration variable being tested is `true` if Node.js was compiled without support for NODE_OPTIONS. PR-URL: #28225 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 5b7b18d commit 42f5f27
Copy full SHA for 42f5f27

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/sequential/test-set-http-max-http-headers.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-set-http-max-http-headers.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ parsers.forEach((parser) => {
6060
});
6161

6262
// Next, repeat the same checks using NODE_OPTIONS if it is supported.
63-
if (process.config.variables.node_without_node_options) {
63+
if (!process.config.variables.node_without_node_options) {
6464
const env = Object.assign({}, process.env, {
6565
NODE_OPTIONS: `--http-parser=${parser} --max-http-header-size=1024`
6666
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.