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 <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • 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.