chore: format by prettier (js)

This commit is contained in:
Naoki Oketani
2021-10-08 21:23:15 +09:00
parent 9d3f4c8708
commit 901e62d952

5
dist/index.js vendored
View File

@@ -104,7 +104,10 @@ function getIssueOption(body) {
assignees = core.getInput('issue_assignees').replace(/\s+/g, '').split(','); assignees = core.getInput('issue_assignees').replace(/\s+/g, '').split(',');
} }
if (core.getInput('issue_labels')) { if (core.getInput('issue_labels')) {
labels = core.getInput('issue_labels').split(',').map(label => label.trim()); labels = core
.getInput('issue_labels')
.split(',')
.map(label => label.trim());
} }
return { return {
title: core.getInput('issue_title'), title: core.getInput('issue_title'),