Skip to content

Commit

Permalink
src: fix --heapsnapshot-near-heap-limit error hint
Browse files Browse the repository at this point in the history
PR-URL: #44216
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
  • Loading branch information
legendecas authored and ruyadorno committed Aug 22, 2022
1 parent 37a9d7a commit 4e1ffd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors) {
}

if (heap_snapshot_near_heap_limit < 0) {
errors->push_back("--heap-snapshot-near-heap-limit must not be negative");
errors->push_back("--heapsnapshot-near-heap-limit must not be negative");
}

if (test_runner) {
Expand Down

0 comments on commit 4e1ffd9

Please sign in to comment.