mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
src: fix --heapsnapshot-near-heap-limit error hint
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
e3bf5e1ac8
commit
76cdef15cd
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user