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:
Chengzhong Wu authored and GitHub committed 2022-08-14 02:17:28 +00:00
1 parent e3bf5e1ac8
commit 76cdef15cd
1 file changed
+1 -1
+1 -1
View File
@@ -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) {