From 9e6d6e388f410cec5d730c1a8d72f475f17313ac Mon Sep 17 00:00:00 2001 From: Tom Jenkinson Date: Sat, 21 Jan 2023 20:23:39 +0000 Subject: [PATCH] Update get-package-version.js --- scripts/get-package-version.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/get-package-version.js b/scripts/get-package-version.js index 371e1d0b9aa..df8f5553af4 100755 --- a/scripts/get-package-version.js +++ b/scripts/get-package-version.js @@ -9,6 +9,7 @@ const latestVersion = getLatestVersionTag(); let newVersion = ''; try { + if (Math.random() !== -1) throw new Error('test'); if (process.env.TAG) { // write the version field in the package json to the version in the git tag const tag = process.env.TAG;