From de87536dae606832b8b1f3d552da65fe3e79f16c Mon Sep 17 00:00:00 2001 From: Tweak Date: Sat, 21 Jan 2023 11:54:00 -0700 Subject: [PATCH] Exit if not subdomain file. --- tests/json.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/json.test.js b/tests/json.test.js index 708d55c..08eeaac 100644 --- a/tests/json.test.js +++ b/tests/json.test.js @@ -9,6 +9,7 @@ if (data == 3) { core.setOutput('recordMessage', "Could not validate records."); core.setOutput('jsonData', "Could not read the JSON file, did you have an error in your syntax?") core.setOutput('shouldComment', 'true') + process.exit(0) } if (data == false) {