pull/97/head
David Finol 2021-02-26 00:36:58 -06:00
parent af3a68d3d6
commit 47bc3efc52
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ class Input {
const rawCreateCheck = getInput('createCheck') || 'false'; const rawCreateCheck = getInput('createCheck') || 'false';
const checkName = getInput('checkName') || 'Test Results'; const checkName = getInput('checkName') || 'Test Results';
const githubToken = getInput('githubToken') || ''; const githubToken = getInput('githubToken') || '';
const customParameters = getInput('customParameters') || ''; // Validate input const customParameters = getInput('customParameters') || '';
// Validate input
if (!includes(this.testModes, testMode)) { if (!includes(this.testModes, testMode)) {
throw new Error(`Invalid testMode ${testMode}`); throw new Error(`Invalid testMode ${testMode}`);
} }