From 8b8d2b95df5159d6e23168c544ce446fc33bc475 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Tue, 28 Jun 2022 18:32:42 -0700 Subject: [PATCH] Updated, so core dumps are saved on crash --- test/update-test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/update-test.js b/test/update-test.js index 113e600..efe4d7b 100644 --- a/test/update-test.js +++ b/test/update-test.js @@ -16,6 +16,8 @@ limitations under the License. */ _MSH = function _MSH() { return ({}); }; +process.coreDumpLocation = process.platform == 'win32' ? (process.execPath.replace('.exe', '.dmp')) : (process.execPath + '.dmp'); + try { Object.defineProperty(Array.prototype, 'getParameterEx',