fix: directory mapping is not required

This commit is contained in:
Martin Fillafer 2023-03-27 10:48:19 +02:00
parent fc35e5f95d
commit c9e9d8cb67

2
dist/index.js generated vendored
View file

@ -297,7 +297,7 @@ class TestReporter {
this.workDirInput = core.getInput('working-directory', { required: false }); this.workDirInput = core.getInput('working-directory', { required: false });
this.onlySummary = core.getInput('only-summary', { required: false }) === 'true'; this.onlySummary = core.getInput('only-summary', { required: false }) === 'true';
this.token = core.getInput('token', { required: true }); this.token = core.getInput('token', { required: true });
this.directoryMapping = core.getInput('directory-mapping', { required: true }); this.directoryMapping = core.getInput('directory-mapping', { required: false });
this.context = (0, github_utils_1.getCheckRunContext)(); this.context = (0, github_utils_1.getCheckRunContext)();
this.octokit = github.getOctokit(this.token); this.octokit = github.getOctokit(this.token);
if (this.listSuites !== 'all' && this.listSuites !== 'failed') { if (this.listSuites !== 'all' && this.listSuites !== 'failed') {